diff --git a/zed/zed.xdg.symlink/settings.json b/zed/zed.xdg.symlink/settings.json index cb6bc3d..c1f45c4 100644 --- a/zed/zed.xdg.symlink/settings.json +++ b/zed/zed.xdg.symlink/settings.json @@ -10,13 +10,14 @@ "features": { "edit_prediction_provider": "zed" }, + "auto_fold_dirs": false, "edit_predictions": { "mode": "subtle" }, "agent": { "default_model": { "provider": "anthropic", - "model": "claude-3-7-sonnet-latest" + "model": "claude-sonnet-4-latest" }, "version": "2" }, diff --git a/zed/zed.xdg.symlink/snippets/typescript.json b/zed/zed.xdg.symlink/snippets/typescript.json index 1d1f648..1559421 100644 --- a/zed/zed.xdg.symlink/snippets/typescript.json +++ b/zed/zed.xdg.symlink/snippets/typescript.json @@ -1,4 +1,30 @@ { + "tests": { + "prefix": "tests", + "description": "Test suite", + "body": ["describe('${1:Function name}', () => {", " $0", "})"] + }, + "utesth": { + "prefix": "utesth", + "description": "Unit test header", + "body": [ + "/* eslint-disable @typescript-eslint/no-unused-expressions */", + "import 'reflect-metadata'", + "", + "import { describe, it } from 'node:test'", + "", + "import { expect, use } from 'chai'", + "import chaiAsPromised from 'chai-as-promised'", + "use(chaiAsPromised)", + "", + "$0" + ] + }, + "utest": { + "prefix": "utest", + "description": "Unit test case", + "body": ["it('${2:Should...}', async () => {", " $0", "})"] + }, "itesth": { "prefix": "itesth", "description": "Integration test header", @@ -18,11 +44,6 @@ "$0" ] }, - "itests": { - "prefix": "itests", - "description": "Integration test suite", - "body": ["describe('${1:Function name}', () => {", " $0", "})"] - }, "itest": { "prefix": "itest", "description": "Integration test case",