File tree Expand file tree Collapse file tree 6 files changed +5751
-10278
lines changed Expand file tree Collapse file tree 6 files changed +5751
-10278
lines changed Original file line number Diff line number Diff line change 1
1
name : Test
2
2
3
3
on :
4
- push :
5
- branches :
6
- - latest
7
- - latest-next
8
- - next
9
- - beta
10
- - " *.x" # maintenance releases branches
4
+ push :
5
+ branches :
6
+ - latest
7
+ - latest-next
8
+ - next
9
+ - beta
10
+ - " *.x" # maintenance releases branches
11
11
12
- pull_request :
13
- types :
14
- - opened
15
- - synchronize
12
+ pull_request :
13
+ types :
14
+ - opened
15
+ - synchronize
16
16
17
17
jobs :
18
- test_matrix :
19
- strategy :
20
- matrix :
21
- node-version :
22
- - 12
23
- - 14
24
- - 16 # Becomes active in early April 2021
18
+ test_matrix :
19
+ strategy :
20
+ matrix :
21
+ node-version :
22
+ - 12
23
+ - 14
24
+ - 16 # Becomes active in early April 2021
25
25
26
- runs-on : ubuntu-latest
26
+ runs-on : ubuntu-latest
27
27
28
- steps :
29
- - uses : actions/checkout@v2
30
- - run : git config --global user.name github-actions
31
- -
run :
git config --global user.email [email protected]
32
- - name : Use Node.js ${{ matrix.node-version }}
33
- uses : actions/setup-node@v2
34
- with :
35
- node-version : ${{ matrix.node-version }}
36
- - uses : bahmutov/npm-install@v1
37
- - run : npm run test
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - run : git config --global user.name github-actions
31
+ -
run :
git config --global user.email [email protected]
32
+ - name : Use Node.js ${{ matrix.node-version }}
33
+ uses : actions/setup-node@v2
34
+ with :
35
+ node-version : ${{ matrix.node-version }}
36
+ - uses : bahmutov/npm-install@v1
37
+ - run : npm run test
Original file line number Diff line number Diff line change 1
- import type { Config } from '@jest/types' ;
2
- import { jsWithTs } from 'ts-jest/presets' ;
3
- const config : Config . InitialOptions = {
1
+ const { jsWithTs} = require ( 'ts-jest/presets' ) ;
2
+ const config =
3
+ /** @type {import('@jest/types').InitialOptions } */
4
+ {
4
5
'rootDir' :'../' ,
5
6
'preset' : 'ts-jest/presets/js-with-ts' ,
6
7
testEnvironment : 'node' ,
@@ -23,4 +24,4 @@ const config: Config.InitialOptions = {
23
24
} ,
24
25
} ,
25
26
} ;
26
- export default config ;
27
+ module . exports = config ;
You can’t perform that action at this time.
0 commit comments