Skip to content

Commit a2443e1

Browse files
chore: update jest config
1 parent ce4d68f commit a2443e1

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

jest.config.js

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,9 @@
1-
/** @type {import("ts-jest/dist/types").InitialOptionsTsJest} */
21
module.exports = {
32
preset: "ts-jest",
43
testEnvironment: "node",
54
roots: ["src"],
65
collectCoverageFrom: ["**/*.ts"],
7-
coveragePathIgnorePatterns: [
8-
"<rootDir>/.*/index.ts",
9-
"<rootDir>/test",
10-
"<rootDir>/src/ClickOptions.ts",
11-
"<rootDir>/src/CommandOptions.ts",
12-
"<rootDir>/src/KeyboardCommand.ts",
13-
"<rootDir>/src/KeyboardOptions.ts",
14-
"<rootDir>/src/KeyCodeCommand.ts",
15-
"<rootDir>/src/KeystrokeCommand.ts",
16-
"<rootDir>/src/ScreenReader.ts",
17-
"<rootDir>/src/ScreenReaderCaption.ts",
18-
"<rootDir>/src/ScreenReaderCursor.ts",
19-
"<rootDir>/src/ScreenReaderKeyboard.ts",
20-
"<rootDir>/src/ScreenReaderMouse.ts",
21-
"<rootDir>/src/macOS/Applications.ts",
22-
"<rootDir>/src/macOS/KeyboardCommand.ts",
23-
"<rootDir>/src/macOS/KeyCodeCommand.ts",
24-
"<rootDir>/src/macOS/KeyCodes.ts",
25-
"<rootDir>/src/macOS/KeystrokeCommand.ts",
26-
"<rootDir>/src/macOS/Modifiers.ts",
27-
"<rootDir>/src/macOS/record.ts",
28-
"<rootDir>/src/macOS/VoiceOver/ClickButton.ts",
29-
"<rootDir>/src/macOS/VoiceOver/ClickCount.ts",
30-
"<rootDir>/src/macOS/VoiceOver/CommanderCommands.ts",
31-
// TODO: add tests for setting configuration
32-
"<rootDir>/src/macOS/VoiceOver/configureSettings.ts",
33-
"<rootDir>/src/macOS/VoiceOver/constants.ts",
34-
"<rootDir>/src/macOS/VoiceOver/Containments.ts",
35-
"<rootDir>/src/macOS/VoiceOver/Directions.ts",
36-
// TODO: flesh out LogStore tests
37-
"<rootDir>/src/macOS/VoiceOver/LogStore.ts",
38-
"<rootDir>/src/macOS/VoiceOver/Places.ts",
39-
"<rootDir>/src/windows/NVDA/keyCodeCommands.ts",
40-
"<rootDir>/src/windows/NVDA/NVDA.ts",
41-
"<rootDir>/src/windows/NVDA/NVDAClient.ts",
42-
],
6+
coveragePathIgnorePatterns: ["<rootDir>/src/index.ts"],
437
coverageThreshold: {
448
global: {
459
branches: 100,

0 commit comments

Comments
 (0)