File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 if : matrix.os == 'ubuntu-latest'
5454
5555 - name : Run tests
56- run : npm run test
56+ run : npm run mocha
5757 if : matrix.os == 'windows-latest'
5858
5959 - name : Run Coveralls
Original file line number Diff line number Diff line change 1616 "node" : " >=12"
1717 },
1818 "scripts" : {
19- "mocha" : " mocha -i --fgrep=server " ,
19+ "mocha" : " mocha" ,
2020 "lint" : " xo" ,
2121 "fix" : " xo --fix" ,
2222 "test" : " npm run lint && npm run mocha" ,
2323 "test:grunt" : " grunt ci --force" ,
2424 "test:ci" : " npm run mocha && npm run test:server && npm run test:grunt" ,
2525 "test:coverage" : " c8 npm run test:ci" ,
26- "test:server" : " start-server-and-test start:server http://127.0.0.1:8080 \" mocha --fgrep= server\" " ,
26+ "test:server" : " start-server-and-test start:server http://127.0.0.1:8080 \" npm run mocha -- test/ server/ \" " ,
2727 "start:server" : " java -Dnu.validator.servlet.bind-address=127.0.0.1 -cp ./node_modules/vnu-jar/build/dist/vnu.jar nu.validator.servlet.Main 8080"
2828 },
2929 "dependencies" : {
7676 },
7777 "overrides" : [
7878 {
79- "files" : " test/*.js" ,
79+ "files" : " test/**/* .js" ,
8080 "envs" : [
8181 " mocha"
8282 ]
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- const expectedResults = require ( './helpers/expected_results.js' ) ;
4- const run = require ( './helpers/run.js' ) ;
3+ const expectedResults = require ( '.. /helpers/expected_results.js' ) ;
4+ const run = require ( '.. /helpers/run.js' ) ;
55
66describe ( 'htmllint' , ( ) => {
77 describe ( 'server' , ( ) => {
You can’t perform that action at this time.
0 commit comments