File tree 4 files changed +184
-8
lines changed
4 files changed +184
-8
lines changed Original file line number Diff line number Diff line change 6
6
# Temporary files generated by code
7
7
temp /** /*
8
8
9
+ # Yarn Logs
10
+ yarn-error.log
11
+
9
12
# Git conventions
10
13
! .gitkeep
Original file line number Diff line number Diff line change 4
4
"main" : " index.js" ,
5
5
"license" : " MIT" ,
6
6
"scripts" : {
7
- "dev" : " nodemon ./js/index.js"
7
+ "dev" : " nodemon ./js/index.js" ,
8
+ "test" : " mocha \" ./{,!(node_modules)/**/}*.spec.ts\" --require ts-node/register -O spec"
8
9
},
9
10
"dependencies" : {
10
11
"express" : " ^4.16.2" ,
13
14
"puppeteer" : " ^0.12.0"
14
15
},
15
16
"devDependencies" : {
17
+ "@types/chai" : " ^4.0.4" ,
16
18
"@types/express" : " ^4.0.38" ,
19
+ "@types/mocha" : " ^2.2.43" ,
17
20
"@types/node" : " ^8.0.47" ,
18
- "typescript" : " ^2.5.3" ,
19
- "nodemon" : " ^1.12.1"
21
+ "chai" : " ^4.1.2" ,
22
+ "mocha" : " ^4.0.1" ,
23
+ "nodemon" : " ^1.12.1" ,
24
+ "ts-node" : " ^3.3.0" ,
25
+ "typescript" : " ^2.5.3"
20
26
}
21
27
}
Original file line number Diff line number Diff line change
1
+ import { assert } from "chai"
2
+
3
+ describe ( "Image Diff" , ( ) => {
4
+ it ( "should work just fine" , ( ) => {
5
+ assert . isTrue ( true )
6
+ } )
7
+ } )
You can’t perform that action at this time.
0 commit comments