File tree 4 files changed +5
-7
lines changed
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 2
2
"undef" : true ,
3
3
"unused" : true ,
4
4
"laxbreak" : true ,
5
- "browser " : true ,
6
- "node " : true
5
+ "browserify " : true ,
6
+ "esversion " : 11
7
7
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ lint: node_modules
9
9
$(NODE_BIN ) /jshint index.js test benchmark
10
10
11
11
test : node_modules
12
- $( NODE_BIN ) /mocha --require should test
12
+ node --require should -- test
13
13
14
14
benchmark : node_modules
15
15
$(NODE_BIN ) /matcha --reporter plain benchmark
Original file line number Diff line number Diff line change 17
17
"devDependencies" : {
18
18
"@pirxpilot/jshint" : " ~3" ,
19
19
"@pirxpilot/matcha" : " ~1" ,
20
- "mocha" : " ~3" ,
21
20
"polyline-encoded" : " ^0.0.8" ,
22
- "should" : " ~11 "
21
+ "should" : " ~13 "
23
22
},
24
23
"dependencies" : {
25
24
"sterta" : " ^2.2.1"
Original file line number Diff line number Diff line change
1
+ var { describe, it } = require ( 'node:test' ) ;
1
2
var simplify = require ( '..' ) ;
2
3
3
- /* global describe, it */
4
-
5
4
describe ( 'simplify' , function ( ) {
6
5
it ( 'should not change short polylines' , function ( ) {
7
6
simplify ( [ ] ) . should . have . length ( 0 ) ;
You can’t perform that action at this time.
0 commit comments