File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 name : Install dev dependencies
3939 - run : npm run lint
4040 name : Run linter
41+ - run : npm run format:check
42+ name : Run Prettier check
4143 - run : npm run test
4244 name : Run unit tests
Original file line number Diff line number Diff line change @@ -307,4 +307,4 @@ export interface DeviceInfo {
307307 /** The visibility class
308308 * @example "default" */
309309 visibilityClass : string ;
310- }
310+ }
Original file line number Diff line number Diff line change 4444 "clean" : " npm run build -- --clean" ,
4545 "rebuild" : " npm run clean; npm run build" ,
4646 "dev" : " npm run build -- --watch" ,
47- "format" : " prettier -w ./lib" ,
4847 "lint" : " eslint ." ,
4948 "lint:fix" : " npm run lint -- --fix" ,
49+ "format" : " prettier -w ./lib ./test" ,
50+ "format:check" : " prettier --check ./lib ./test" ,
5051 "prepare" : " npm run build" ,
5152 "test" : " mocha --exit --timeout 1m \" ./test/unit/**/*-specs.*js\" " ,
5253 "e2e-test" : " mocha --exit --timeout 5m \" ./test/e2e/**/*-specs.js\" "
Original file line number Diff line number Diff line change 1- import { expect } from 'chai' ;
2- import { Devicectl } from '../../lib/devicectl' ;
1+ import { expect } from 'chai' ;
2+ import { Devicectl } from '../../lib/devicectl' ;
33
44describe ( 'Devicectl' , function ( ) {
55 let devicectl : Devicectl ;
You can’t perform that action at this time.
0 commit comments