Skip to content

Commit 802f854

Browse files
committed
fix: update test:watch script to skip types and configure attest setup for snapshot updates
1 parent 97f3f83 commit 802f854

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"generate:json-schemas": "pnpm --filter \"@mojis/json-schemas\" run write-schemas",
1818
"lint": "turbo run lint",
1919
"test": "vitest run",
20-
"test:watch": "vitest",
20+
"test:watch": "ATTEST_skipTypes=1 vitest",
2121
"test:ui": "vitest --ui",
2222
"typecheck": "turbo run typecheck"
2323
},

test/global-setup/attest.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
import { setup } from "@ark/attest"
1+
import { setup, teardown} from "@ark/attest"
22

3-
export default () => setup({})
3+
export default () => setup({
4+
updateSnapshots: true
5+
})

0 commit comments

Comments
 (0)