|
1 | | -/** @type {import("ts-jest/dist/types").InitialOptionsTsJest} */ |
2 | 1 | module.exports = { |
3 | 2 | preset: "ts-jest", |
4 | 3 | testEnvironment: "node", |
5 | 4 | roots: ["src"], |
6 | 5 | 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"], |
43 | 7 | coverageThreshold: { |
44 | 8 | global: { |
45 | 9 | branches: 100, |
|
0 commit comments