Skip to content

Commit

Permalink
fix: recreate jest.config.ts for sequencer-client (AztecProtocol#4553)
Browse files Browse the repository at this point in the history
this file was mistakenly deleted as part of AztecProtocol#4546

---------

Co-authored-by: ludamad <[email protected]>
  • Loading branch information
just-mitch and ludamad authored Feb 12, 2024
1 parent b53ac12 commit 247c06a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
3 changes: 2 additions & 1 deletion build_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ yarn-project-base:
rebuildPatterns:
- ^yarn-project/yarn-project-base/
- ^yarn-project/yarn.lock
- ^yarn-project/.*/package.json$
dependencies:
- l1-contracts
- bb.js
Expand Down Expand Up @@ -216,4 +217,4 @@ avm-transpiler:
dockerfile: avm-transpiler/Dockerfile
rebuildPatterns:
- ^avm-transpiler/
- ^noir/
- ^noir/
12 changes: 12 additions & 0 deletions yarn-project/sequencer-client/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { Config } from 'jest';

const config: Config = {
preset: 'ts-jest/presets/default-esm',
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.[cm]?js$': '$1',
},
testRegex: './src/.*\\.test\\.(js|mjs|ts)$',
rootDir: './src',
};

export default config;
11 changes: 0 additions & 11 deletions yarn-project/sequencer-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"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 --config jest.integration.config.json"
},
"inherits": [
"../package.common.json"
],
"dependencies": {
"@aztec/circuit-types": "workspace:^",
"@aztec/circuits.js": "workspace:^",
Expand Down Expand Up @@ -68,13 +65,5 @@
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
}
}

0 comments on commit 247c06a

Please sign in to comment.