Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
charlielye committed Apr 1, 2024
1 parent daf0eb6 commit 117692f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 16 deletions.
12 changes: 0 additions & 12 deletions yarn-project/end-to-end/jest.config.ts

This file was deleted.

35 changes: 31 additions & 4 deletions yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "0.0.0",
"type": "module",
"exports": "./dest/index.js",
"inherits": [
"../package.common.json",
"./package.local.json"
],
"scripts": {
"build": "yarn clean && tsc -b && webpack",
"build:e2e": "yarn clean && tsc -b",
Expand All @@ -11,9 +15,9 @@
"clean": "rm -rf ./dest .tsbuildinfo",
"formatting": "run -T prettier --check ./src \"!src/web/main.js\" && run -T eslint ./src",
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
"test": "DEBUG='aztec:*' NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --testTimeout=60000 --forceExit",
"test": "DEBUG='aztec:*' NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --runInBand --testTimeout=60000 --forceExit",
"test:integration": "concurrently -k -s first -c reset,dim -n test,anvil \"yarn test:integration:run\" \"anvil\"",
"test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --config jest.integration.config.json"
"test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --no-cache --runInBand --config jest.integration.config.json"
},
"dependencies": {
"@aztec/accounts": "workspace:^",
Expand Down Expand Up @@ -76,12 +80,35 @@
"winston": "^3.10.0"
},
"devDependencies": {
"concurrently": "^7.6.0"
"@jest/globals": "^29.5.0",
"@types/jest": "^29.5.0",
"concurrently": "^7.6.0",
"jest": "^29.5.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"files": [
"dest",
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.tsx?$": [
"@swc/jest"
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
}
}
7 changes: 7 additions & 0 deletions yarn-project/end-to-end/package.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"scripts": {
"build": "yarn clean && tsc -b && webpack",
"formatting": "run -T prettier --check ./src \"!src/web/main.js\" && run -T eslint ./src",
"test": "DEBUG='aztec:*' NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --runInBand --testTimeout=60000 --forceExit"
}
}

0 comments on commit 117692f

Please sign in to comment.