-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from xmtp/migrate-to-vitest
Migrate to vitest
- Loading branch information
Showing
15 changed files
with
690 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
enableTransparentWorkspaces: true | ||
enableTransparentWorkspaces: false | ||
|
||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,11 +51,13 @@ | |
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-simple-import-sort": "^10.0.0", | ||
"eslint-plugin-vitest": "^0.3.1", | ||
"jest": "^29.5.0", | ||
"prettier": "^3.0.2", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.1.6", | ||
"vitest": "^0.34.3" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,14 @@ | |
"migration:run": "", | ||
"up": "./dev/up", | ||
"prepublishOnly": "yarn build", | ||
"test": "jest ./src" | ||
"test": "vitest run ./src" | ||
}, | ||
"dependencies": { | ||
"@xmtp/grpc-api-client": "workspace:*", | ||
"@xmtp/proto": "^3.27.0", | ||
"@xmtp/xmtp-js": "^11.0.0-beta.8", | ||
"drizzle-orm": "^0.28.6", | ||
"ethers": "^6.7.1", | ||
"jest": "^29.6.4", | ||
"long": "^5.2.3", | ||
"pino": "^8.15.0", | ||
"pino-pretty": "^10.2.0", | ||
|
@@ -51,6 +50,7 @@ | |
"homepage": "https://github.com/xmtp/bot-tools-js#readme", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"drizzle-kit": "^0.19.13" | ||
"drizzle-kit": "^0.19.13", | ||
"vitest": "^0.34.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
"build": "tsc", | ||
"prepublishOnly": "yarn build", | ||
"gen:proto": "buf generate buf.build/xmtp/proto --path message_api/v1", | ||
"test": "jest ." | ||
"test": "vitest run ./src" | ||
}, | ||
"author": "XMTP Labs <[email protected]>", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"scripts": { | ||
"start-redis": "docker-compose up -d", | ||
"build": "tsc", | ||
"test": "jest .", | ||
"test": "vitest run .", | ||
"pretest": "yarn start-redis" | ||
}, | ||
"dependencies": { | ||
|
@@ -36,7 +36,6 @@ | |
"homepage": "https://github.com/xmtp/bot-kit-pro#readme", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@xmtp/xmtp-js": "11.0.0-beta.8", | ||
"jest": "^29.6.4" | ||
"@xmtp/xmtp-js": "11.0.0-beta.8" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.