File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
matrix :
10
10
os : [ubuntu-latest, macOS-latest, windows-latest]
11
- node-version : [12.x, 14.x]
11
+ node-version : [12.x, 14.x, 16.x ]
12
12
steps :
13
13
- uses : actions/checkout@v2
14
14
- name : Use Node.js ${{ matrix.node-version }}
Original file line number Diff line number Diff line change 33
33
"prepublishOnly" : " npm run build:clean && npm run build" ,
34
34
"build" : " rollup --config" ,
35
35
"build:clean" : " rimraf dist" ,
36
- "test" : " tap --no-esm test/*.js" ,
36
+ "test" : " tap test/*.js" ,
37
37
"lint" : " eslint . --ignore-pattern '/dist/'" ,
38
38
"lint:fix" : " eslint --fix . --ignore-pattern '/dist/'" ,
39
39
"precommit" : " lint-staged"
43
43
},
44
44
"devDependencies" : {
45
45
"@babel/core" : " 7.15.5" ,
46
- "@babel/preset-env" : " 7.15.4 " ,
46
+ "@babel/preset-env" : " 7.15.6 " ,
47
47
"@rollup/plugin-babel" : " 5.3.0" ,
48
48
"@rollup/plugin-commonjs" : " 20.0.0" ,
49
49
"@rollup/plugin-node-resolve" : " 13.0.5" ,
50
50
"eslint" : " 7.32.0" ,
51
51
"eslint-config-airbnb-base" : " 14.2.1" ,
52
52
"eslint-config-prettier" : " 8.3.0" ,
53
- "eslint-plugin-import" : " 2.24.1 " ,
53
+ "eslint-plugin-import" : " 2.24.2 " ,
54
54
"eslint-plugin-prettier" : " 4.0.0" ,
55
55
"lint-staged" : " 11.1.2" ,
56
- "prettier" : " 2.3.0 " ,
56
+ "prettier" : " 2.4.1 " ,
57
57
"rimraf" : " 3.0.2" ,
58
- "rollup" : " 2.38.5 " ,
59
- "tap" : " 14.11.0 "
58
+ "rollup" : " 2.57.0 " ,
59
+ "tap" : " 15.0.10 "
60
60
},
61
61
"lint-staged" : {
62
62
"*.js" : [
Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ import MessageBus from '../src/MessageBus.js';
3
3
4
4
let bus ;
5
5
6
- tap . beforeEach ( end => {
6
+ tap . beforeEach ( ( ) => {
7
7
// Need to clear the global between tests for a clean slate
8
8
// eslint-disable-next-line no-undef
9
9
globalThis [ '@podium' ] = null ;
10
10
bus = new MessageBus ( ) ;
11
- end ( ) ;
12
11
} ) ;
13
12
14
13
tap . test ( 'subscribe() - should be a function' , t => {
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ import Sink from '../src/Sink.js';
3
3
4
4
let sink ;
5
5
6
- tap . beforeEach ( end => {
6
+ tap . beforeEach ( ( ) => {
7
7
sink = new Sink ( ) ;
8
- end ( ) ;
9
8
} ) ;
10
9
11
10
tap . test ( 'log() - should be a function' , t => {
You can’t perform that action at this time.
0 commit comments