mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-20 14:18:16 +01:00
* chore(wallet-utils): Moving wallet utils to common package * chore(suite-common) Device types moved to common package * chore(suite-common): Moving tests from suite to common package * chore(test): wallet utils tests moved to common suite package * chore: replace message system types from suite-types from common package * chore: import global JestMocks in suite and wallet-utils * chore: decrease jest global coverage thresholds for suite tests * chore: fix import for suite-config * chore: update refactored build paths and pckg for web and web-landing
45 lines
1.9 KiB
JSON
45 lines
1.9 KiB
JSON
{
|
|
"name": "@trezor/integration-tests",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint '**/*.{ts,tsx,js}'",
|
|
"test:transport": "node ./wait-for-env.js && jest --verbose -c ./projects/transport/jest.config.js --runInBand",
|
|
"test:desktop": "node ./wait-for-env.js && DEBUG=pw:browser xvfb-maybe playwright test --config=./projects/suite-desktop/playwright.config.ts",
|
|
"test:connect-popup": "node ./wait-for-env.js && xvfb-maybe -- playwright test --config=./projects/connect-popup/playwright.config.ts",
|
|
"test:connect:node": "TESTS_FIRMWARE=$(node ./wait-for-env.js) jest --runInBand --verbose -c projects/connect/jest.config.js",
|
|
"test:connect:web": "TESTS_FIRMWARE=$(node ./wait-for-env.js) karma start projects/connect/karma.config.js",
|
|
"test:connect:webextension": "node ./projects/connect-webextension/test.js"
|
|
},
|
|
"dependencies": {
|
|
"cypress": "9.5.4",
|
|
"express": "^4.17.3",
|
|
"ts-loader": "^9.3.1",
|
|
"webpack": "^5.73.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cypress/skip-test": "^2.6.1",
|
|
"@cypress/webpack-preprocessor": "^5.11.1",
|
|
"@playwright/test": "^1.22.2",
|
|
"@suite-common/test-utils": "*",
|
|
"@trezor/suite-analytics": "*",
|
|
"@trezor/transport": "*",
|
|
"@trezor/utils": "*",
|
|
"chrome-remote-interface": "^0.31.2",
|
|
"cypress-file-upload": "^5.0.8",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"cypress-wait-until": "^1.7.2",
|
|
"karma": "^6.3.16",
|
|
"karma-babel-preprocessor": "^8.0.2",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-jasmine": "4.0.1",
|
|
"karma-jasmine-async": "^0.0.1",
|
|
"karma-sourcemap-loader": "^0.3.8",
|
|
"karma-webpack": "^5.0.0",
|
|
"playwright": "^1.22.2",
|
|
"shelljs": "^0.8.5",
|
|
"ws": "^7.5.5",
|
|
"xvfb-maybe": "^0.2.1"
|
|
}
|
|
}
|