File tree Expand file tree Collapse file tree 6 files changed +25
-7
lines changed Expand file tree Collapse file tree 6 files changed +25
-7
lines changed Original file line number Diff line number Diff line change
1
+ providers :
2
+ - airtap-playwright
3
+
4
+ browsers :
5
+ - name : chromium
6
+ supports :
7
+ headless : true
Original file line number Diff line number Diff line change @@ -3,6 +3,3 @@ update_configs:
3
3
- package_manager : " javascript"
4
4
directory : " /"
5
5
update_schedule : " daily"
6
- ignored_updates :
7
- - match :
8
- dependency_name : " tap"
Original file line number Diff line number Diff line change 1
1
name : CI workflow
2
2
on : [push, pull_request]
3
3
jobs :
4
+ browsers :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v2
8
+ - uses : actions/setup-node@v1
9
+ - name : Install Dependencies
10
+ run : npm install
11
+ - name : Test
12
+ run : npm run test-in-browsers
4
13
test :
5
14
runs-on : ubuntu-latest
6
15
strategy :
Original file line number Diff line number Diff line change 1
1
** /node_modules
2
2
** /package-lock.json
3
3
4
- coverage. *
4
+ / .nyc_output
5
5
6
6
** /.DS_Store
7
7
** /._ *
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"benchmark" : " cd benchmarks && npm install && npm run all" ,
8
- "test" : " standard && tap test.js"
8
+ "test" : " standard && nyc tape test.js" ,
9
+ "test-in-browsers" : " airtap test.js"
9
10
},
10
11
"repository" : {
11
12
"type" : " git" ,
25
26
},
26
27
"homepage" : " https://github.com/fastify/secure-json-parse#readme" ,
27
28
"devDependencies" : {
29
+ "airtap" : " ^4.0.1" ,
30
+ "airtap-playwright" : " ^1.0.1" ,
31
+ "nyc" : " ^14.1.1" ,
32
+ "playwright" : " ^1.7.1" ,
28
33
"standard" : " ^16.0.0" ,
29
- "tap " : " ^12.7.0 "
34
+ "tape " : " ^5.1.1 "
30
35
}
31
36
}
Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
- const test = require ( 'tap ' ) . test
3
+ const test = require ( 'tape ' ) . test
4
4
const j = require ( './index' )
5
5
6
6
test ( 'parse' , t => {
You can’t perform that action at this time.
0 commit comments