Skip to content

Commit 7c75939

Browse files
committed
chore(connect-expolorer-theme): remove unused vitest from connect-expolorer-theme
1 parent abd8952 commit 7c75939

File tree

7 files changed

+25
-333
lines changed

7 files changed

+25
-333
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const baseConfig = require('../../jest.config.base');
2+
3+
module.exports = {
4+
...baseConfig,
5+
transformIgnorePatterns: [
6+
...(baseConfig.transformIgnorePatterns ?? []),
7+
'/node_modules/(?!chai/)',
8+
],
9+
};

packages/address-validator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"main": "src/index",
88
"scripts": {
9-
"test:unit": "yarn g:jest -c ../../jest.config.base.js"
9+
"test:unit": "yarn g:jest -c ./jest.config.js"
1010
},
1111
"dependencies": {
1212
"base-x": "^5.0.0",

packages/address-validator/tests/wallet_address_get_currencies.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var isNode = typeof module !== 'undefined' && typeof module.exports !== 'undefined';
1+
var isNode = true;
22

33
var chai = isNode ? require('chai') : window.chai,
44
expect = chai.expect;

packages/connect-explorer-theme/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"@trezor/components": "workspace:*",
2828
"@trezor/product-components": "workspace:*",
2929
"@trezor/theme": "workspace:*",
30-
"@vitejs/plugin-react": "^3.0.1",
3130
"clsx": "^2.1.1",
3231
"escape-string-regexp": "^5.0.0",
3332
"flexsearch": "^0.7.31",
@@ -58,8 +57,7 @@
5857
"postcss-import": "^15.1.0",
5958
"postcss-lightningcss": "^1.0.1",
6059
"react": "^18.2.0",
61-
"react-dom": "^18.2.0",
62-
"vitest": "^0.34.0"
60+
"react-dom": "^18.2.0"
6361
},
6462
"sideEffects": [
6563
"./src/polyfill.ts"

packages/connect-explorer-theme/vite.config.ts

-10
This file was deleted.

scripts/list-outdated-dependencies/connect-dependencies.txt

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ postcss-lightningcss
2020
@types/bytebuffer
2121
@types/chrome
2222
@vitejs/plugin-react
23-
vitest
2423
eth-phishing-detect
2524
pushdata-bitcoin
2625
@types/karma

0 commit comments

Comments
 (0)