Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Jan 24, 2025
1 parent 064a1c7 commit d7177e3
Show file tree
Hide file tree
Showing 28 changed files with 2,782 additions and 1,386 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ yarn add @1inch/fusion-sdk@2

## Modules docs

- [auction-calculator](src/auction-calculator/README.md)
- [auction-calculator](src/amount-calculator/auction-calculator/README.md)
- [auction-details](src/fusion-order/auction-details/README.md)
- [settlement-post-interaction-data](src/fusion-order/settlement-post-interaction-data/README.md)
- [fusion-order](src/fusion-order/README.md)
Expand Down
9 changes: 0 additions & 9 deletions contracts/src/TestLimitOrderProtocol.sol

This file was deleted.

File renamed without changes.
15 changes: 15 additions & 0 deletions jest.integration.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: 'tests',
testRegex: '.*\\.(spec|test)\\.ts$',

globalSetup: '<rootDir>/global-setup.ts',
globalTeardown: '<rootDir>/global-tear-down.ts',
transform: {
'^.+\\.(t|j)s$': '@swc/jest'
},
collectCoverageFrom: ['**/*.(t|j)s'],
testTimeout: 20_000,
coverageDirectory: '../coverage',
testEnvironment: 'node'
}
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,45 +26,47 @@
"lint:ci": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint:types": "tsc --noEmit",
"test": "jest",
"test": "TZ=UTC jest",
"test:integration": "TZ=UTC forge build && jest -c jest.integration.config.js",
"test:watch": "jest --watch",
"changelog:generate": "changelog generate -a"
},
"dependencies": {
"@1inch/byte-utils": "3",
"@1inch/limit-order-sdk": "4.11.1",
"ethers": "^6.13.1",
"tslib": "^2.6.3",
"ws": "^8.17.1"
"@1inch/limit-order-sdk": "4.11.3",
"ethers": "^6.13.5",
"tslib": "^2.8.1",
"ws": "^8.18.0"
},
"devDependencies": {
"@1inch/eslint-config": "3.0.6",
"@1inch/tsconfig": "1.0.7",
"@swc/core": "1.5.25",
"@swc/jest": "0.2.36",
"@types/jest": "29.5.12",
"@1inch/tsconfig": "1.0.8",
"@swc/core": "1.10.9",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@types/prompts": "^2.4.9",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"axios": "^1.7.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "~9.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint": "~9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-unused-imports": "^4.1.4",
"generate-changelog": "^1.8.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"testcontainers": "10.17.1",
"ts-loader": "^9.5.1",
"ts-mockito": "^2.6.1",
"ts-node": "^10.9.2",
"tslib": "2.6.3",
"typescript": "4.9.4"
"typescript": "5.7.3"
},
"peerDependencies": {
"assert": "^2.0.0",
Expand Down
Loading

0 comments on commit d7177e3

Please sign in to comment.