Skip to content

Commit

Permalink
chore: update clarinet project template (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard authored Mar 1, 2024
1 parent 388c501 commit 80be703
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 6 additions & 6 deletions components/clarinet-sdk/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"author": "",
"license": "ISC",
"dependencies": {
"@hirosystems/clarinet-sdk": "^1.0.0",
"@stacks/transactions": "^6.9.0",
"@hirosystems/clarinet-sdk": "^2.3.0",
"@stacks/transactions": "^6.12.0",
"chokidar-cli": "^3.0.0",
"typescript": "^5.2.2",
"vite": "^5.0.6",
"vitest": "^1.0.1",
"vitest-environment-clarinet": "^1.1.0"
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vitest": "^1.3.1",
"vitest-environment-clarinet": "^2.0.0"
}
}
7 changes: 6 additions & 1 deletion components/clarinet-sdk/templates/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ import { vitestSetupFilePath, getClarinetVitestsArgv } from "@hirosystems/clarin
export default defineConfig({
test: {
environment: "clarinet", // use vitest-environment-clarinet
singleThread: true,
pool: "forks",
poolOptions: {
threads: {
singleThread: true,
},
},
setupFiles: [
vitestSetupFilePath,
// custom setup files can be added here
Expand Down

0 comments on commit 80be703

Please sign in to comment.