Skip to content

Commit 4985cc7

Browse files
committed
Format code
1 parent 8ea728c commit 4985cc7

6 files changed

+71
-71
lines changed

.vscode/launch.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "node",
9-
"name": "vscode-jest-tests",
10-
"request": "launch",
11-
"args": ["--runInBand", "--coverage=false"],
12-
"cwd": "${workspaceFolder}",
13-
"console": "integratedTerminal",
14-
"internalConsoleOptions": "neverOpen",
15-
"disableOptimisticBPs": true,
16-
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
17-
"skipFiles": ["<node_internals>/**", "node_modules/**"]
18-
}
19-
]
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"name": "vscode-jest-tests",
10+
"request": "launch",
11+
"args": ["--runInBand", "--coverage=false"],
12+
"cwd": "${workspaceFolder}",
13+
"console": "integratedTerminal",
14+
"internalConsoleOptions": "neverOpen",
15+
"disableOptimisticBPs": true,
16+
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
17+
"skipFiles": ["<node_internals>/**", "node_modules/**"]
18+
}
19+
]
2020
}

.vscode/settings.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"editor.defaultFormatter": "esbenp.prettier-vscode",
3-
"editor.formatOnSave": true,
4-
"editor.codeActionsOnSave": {
5-
"source.fixAll.eslint": true
6-
},
7-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true
6+
},
7+
"typescript.tsdk": "node_modules/typescript/lib"
88
}

jest.config.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
"use strict";
22

33
module.exports = {
4-
roots: ["<rootDir>/src"],
5-
transform: {
6-
"^.+\\.tsx?$": "ts-jest",
7-
},
8-
globals: {
9-
"ts-jest": {
10-
diagnostics: false,
11-
},
12-
},
13-
collectCoverage: true,
14-
coverageThreshold: {
15-
"./src/**/*.ts": {
16-
branches: 100,
17-
functions: 100,
18-
lines: 100,
19-
statements: 100,
20-
},
21-
},
22-
coveragePathIgnorePatterns: [
23-
"<rootDir>/src/tests",
24-
"<rootDir>/node_modules/",
25-
],
4+
roots: ["<rootDir>/src"],
5+
transform: {
6+
"^.+\\.tsx?$": "ts-jest",
7+
},
8+
globals: {
9+
"ts-jest": {
10+
diagnostics: false,
11+
},
12+
},
13+
collectCoverage: true,
14+
coverageThreshold: {
15+
"./src/**/*.ts": {
16+
branches: 100,
17+
functions: 100,
18+
lines: 100,
19+
statements: 100,
20+
},
21+
},
22+
coveragePathIgnorePatterns: [
23+
"<rootDir>/src/tests",
24+
"<rootDir>/node_modules/",
25+
],
2626
};

tsconfig.build-cjs.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"outDir": "build-cjs",
5-
"target": "es2015",
6-
"module": "commonjs"
7-
},
8-
"include": ["src"],
9-
"exclude": ["src/**/*.test.ts", "src/tests/**/*.ts"]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "build-cjs",
5+
"target": "es2015",
6+
"module": "commonjs"
7+
},
8+
"include": ["src"],
9+
"exclude": ["src/**/*.test.ts", "src/tests/**/*.ts"]
1010
}

tsconfig.build-esm.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"outDir": "build-esm",
5-
"target": "es2015",
6-
"module": "esnext"
7-
},
8-
"include": ["src"],
9-
"exclude": ["src/**/*.test.ts", "src/tests/**/*.ts", "src/scripts/**/*.ts"]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "build-esm",
5+
"target": "es2015",
6+
"module": "esnext"
7+
},
8+
"include": ["src"],
9+
"exclude": ["src/**/*.test.ts", "src/tests/**/*.ts", "src/scripts/**/*.ts"]
1010
}

tsconfig.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"compilerOptions": {
3-
"strict": true,
4-
"sourceMap": true,
5-
"esModuleInterop": true,
6-
"moduleResolution": "node",
7-
"resolveJsonModule": true,
8-
"forceConsistentCasingInFileNames": true,
9-
"declaration": true
10-
}
2+
"compilerOptions": {
3+
"strict": true,
4+
"sourceMap": true,
5+
"esModuleInterop": true,
6+
"moduleResolution": "node",
7+
"resolveJsonModule": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"declaration": true
10+
}
1111
}

0 commit comments

Comments
 (0)