Compare commits

...

2 commits

Author SHA1 Message Date
Max Bucknell
59d67db585
Add some new test snippets 2025-06-21 10:41:48 -07:00
Max Bucknell
a2cc7f8e18
Git alias updates, mostly 2025-06-21 10:41:36 -07:00
5 changed files with 39 additions and 7 deletions

View file

@ -12,6 +12,7 @@
defaultBranch = main
[alias]
amend = commit --verbose --amend
dc = diff --staged
di = diff
pf = pull --ff-only
@ -21,6 +22,8 @@
ci = commit --verbose
co = checkout
cp = cherry-pick
cpc = cherry-pick --continue
cpq = cherry-pick --abort
current-branch = rev-parse --abbrev-ref HEAD
cl = clone
ll = !max-git-log
@ -30,12 +33,16 @@
s = switch
b = switch -c
lt = log --oneline -10
r = rebase
rc = rebase --continue
rq = rebase --abort
ri = rebase --interactive
[color]
ui = auto
[help]
autocorrect = prompt
autocorrect = never
[push]
default = current

View file

@ -18,7 +18,9 @@ GoToFile
.idea
.nova
.zed
.pick_index
.claude
# Files I want to have but not stage
*.maxignore

View file

@ -0,0 +1 @@
**/.claude/settings.local.json

View file

@ -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"
},

View file

@ -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",