Skip to content

Commit ed430a6

Browse files
committed
test: remove dead Spectron integration suite + jest artifacts (D.4)
- Delete integration-tests/ (Spectron, incompatible with Electron 42), config/jest/, scripts/test.js, docker-compose.yml (all integration-only). - Add ESLint override exposing Vitest globals (vi/describe/it/...) for test and __mocks__ files. Jest is fully removed; Vitest is the sole test runner.
1 parent 0b6aa27 commit ed430a6

68 files changed

Lines changed: 18 additions & 1399 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,22 @@
139139
"minLength": 3
140140
}
141141
]
142-
}
142+
},
143+
"overrides": [
144+
{
145+
"files": ["**/*.test.js", "**/__tests__/**", "**/__mocks__/**", "vitest.setup.js"],
146+
"globals": {
147+
"vi": "readonly",
148+
"describe": "readonly",
149+
"it": "readonly",
150+
"test": "readonly",
151+
"expect": "readonly",
152+
"beforeAll": "readonly",
153+
"afterAll": "readonly",
154+
"beforeEach": "readonly",
155+
"afterEach": "readonly",
156+
"vitest": "readonly"
157+
}
158+
}
159+
]
143160
}

config/jest/automock.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

config/jest/cssTransform.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

config/jest/enzyme.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

config/jest/fileTransform.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

config/jest/matchMedia.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

config/jest/polyfills.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

integration-tests/.data/.gitkeep

Whitespace-only changes.

integration-tests/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)