File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6868 },
6969 "devDependencies" : {
7070 "ban-sensitive-files" : " 1.9.2" ,
71+ "check-more-types" : " 2.24.0" ,
72+ "cypress" : " 1.1.2" ,
7173 "dependency-check" : " 2.9.1" ,
7274 "deps-ok" : " 1.2.1" ,
7375 "git-issues" : " 1.3.1" ,
76+ "lazy-ass" : " 1.6.0" ,
7477 "license-checker" : " 15.0.0" ,
7578 "mocha" : " 4.0.1" ,
7679 "nsp" : " 3.1.0" ,
Original file line number Diff line number Diff line change 11'use strict'
22
33/* eslint-env mocha */
4+ const la = require ( 'lazy-ass' )
5+ const is = require ( 'check-more-types' )
46const jsonServerReset = require ( '.' )
57
68describe ( 'json-server-reset' , ( ) => {
7- it ( 'write this test ' , ( ) => {
8- console . assert ( jsonServerReset , 'should export something' )
9+ it ( 'is a middleware function ' , ( ) => {
10+ la ( is . fn ( jsonServerReset ) )
911 } )
1012} )
You can’t perform that action at this time.
0 commit comments