Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b52157a

Browse files
author
Glitch (friendly-words-npm)
committedOct 4, 2018
💳🍶 Checkpoint
./package.json:9/1348 ./test/test.js:9/32
1 parent 215ce66 commit b52157a

File tree

3 files changed

+3754
-211
lines changed

3 files changed

+3754
-211
lines changed
 

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
},
1414
"devDependencies": {
1515
"express": "^4.16.3",
16-
"lodash.samplesize": "^4.2.0"
16+
"lodash.samplesize": "^4.2.0",
17+
"ava": "^0.25.0"
1718
},
1819
"engines": {
1920
"node": "10.x"

‎shrinkwrap.yaml

+3,747-208
Large diffs are not rendered by default.

‎test/test.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ when writing the tests, it'd be good to assert all of the clauses that build.js
44
55
contents are alphabetized, contents don't have dupes, etc.
66
7-
i like to think of it as 'the code has a bunch of assumptions, including the assumption that it itself is valid; the job of the tests are to assert the assumptions are true.'
7+
i like to think of it as 'the code has a bunch of assumptions, including the assumption that it itself is valid;
8+
the job of the tests are to assert the assumptions are true.'
89
910
which means that the game of "what's being assumed here?" is one that can give guidance into what tests are needed
1011
e.g., we're assuming that the 'objects' collection exists... it has a large number of things in it.. etc.
1112
12-
*/
13+
*/
14+
15+
const ava = require('ava');

0 commit comments

Comments
 (0)
Please sign in to comment.