|
28 | 28 | "start:mainnet": "npm run copy-mainnet-config & nest start", |
29 | 29 | "start:mainnet:watch": "npm run copy-mainnet-config & nest start --watch", |
30 | 30 | "start:mainnet:debug": "npm run copy-mainnet-config & nest start --watch --debug", |
| 31 | + "start:mainnet:e2e": "npm run copy-e2e-mainnet-config & nest start", |
| 32 | + "start:mainnet:e2e:watch": "npm run copy-e2e-mainnet-config & nest start --watch", |
| 33 | + "start:mainnet:e2e:debug": "npm run copy-e2e-mainnet-config & nest start --watch --debug", |
31 | 34 | "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", |
32 | 35 | "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
33 | 36 | "test": "npm run copy-mainnet-config & nest build & jest", |
|
41 | 44 | "test:e2e:local": "npm run test:e2e:warm & npm run test:e2e", |
42 | 45 | "test:api": "jest --config ./src/test/jest-api.json --runInBand --detectOpenHandles --forceExit", |
43 | 46 | "test:graph": "jest --config ./src/test/jest-graph-spec.json --runInBand --detectOpenHandles --forceExit", |
| 47 | + "test:cs-e2e": "jest --config ./src/test/jest-chain-simulator.json --runInBand --detectOpenHandles --forceExit", |
44 | 48 | "init": "run-script-os", |
45 | 49 | "copy-mainnet-config": "run-script-os", |
46 | 50 | "copy-testnet-config": "run-script-os", |
|
73 | 77 | "copy-e2e-mainnet-config:nix": "cp ./config/config.e2e.mainnet.yaml ./config/config.yaml", |
74 | 78 | "copy-e2e-mocked-mainnet-config:nix": "cp ./config/config.e2e-mocked.mainnet.yaml ./config/config.yaml", |
75 | 79 | "copy-e2e-mainnet-config:windows": "copy .\\config\\config.e2e.mainnet.yaml .\\config\\config.yaml", |
76 | | - "copy-e2e-mocked-mainnet-config:windows": "copy .\\config\\config.e2e-mocked.mainnet.yaml .\\config\\config.yaml" |
| 80 | + "copy-e2e-mocked-mainnet-config:windows": "copy .\\config\\config.e2e-mocked.mainnet.yaml .\\config\\config.yaml", |
| 81 | + "start-chain-simulator": "docker compose -f \"src/test/chain-simulator/docker/docker-compose.yml\" up -d --build", |
| 82 | + "stop-chain-simulator": "docker compose -f \"src/test/chain-simulator/docker/docker-compose.yml\" down", |
| 83 | + "prepare:test-data": "ts-node src/test/chain-simulator/utils/prepare-test-data.ts" |
77 | 84 | }, |
78 | 85 | "dependencies": { |
79 | 86 | "@aws-sdk/client-s3": "^3.54.0", |
|
149 | 156 | "devDependencies": { |
150 | 157 | "@automock/adapters.nestjs": "^2.1.0", |
151 | 158 | "@automock/jest": "^2.1.0", |
| 159 | + "@jest/test-sequencer": "^29.7.0", |
152 | 160 | "@nestjs/cli": "10.1.17", |
153 | 161 | "@nestjs/schematics": "10.0.2", |
154 | 162 | "@nestjs/testing": "10.2.4", |
|
157 | 165 | "@types/crypto-js": "^4.0.2", |
158 | 166 | "@types/express": "^4.17.13", |
159 | 167 | "@types/fluent-ffmpeg": "^2.1.20", |
160 | | - "@types/jest": "29.5.0", |
| 168 | + "@types/jest": "^29.5.0", |
161 | 169 | "@types/js-yaml": "^4.0.5", |
162 | 170 | "@types/json-diff": "^0.7.0", |
163 | 171 | "@types/jsonwebtoken": "^8.5.8", |
|
176 | 184 | "prettier": "^2.5.1", |
177 | 185 | "run-script-os": "^1.1.6", |
178 | 186 | "supertest": "^6.2.2", |
179 | | - "ts-jest": "29.0.5", |
| 187 | + "ts-jest": "^29.0.5", |
180 | 188 | "ts-loader": "9.4.2", |
181 | 189 | "ts-node": "10.7.0", |
182 | 190 | "tsconfig-paths": "^4.0.0", |
|
0 commit comments