We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c59ae0 commit a8b2e6bCopy full SHA for a8b2e6b
.travis.yml
@@ -0,0 +1,3 @@
1
+language: node_js
2
+node_js:
3
+ - "node"
package.json
@@ -4,7 +4,7 @@
4
"description": "A web application for parents to notify schools if someone other than the usual guardian will be picking the child up from school",
5
"main": "index.js",
6
"scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
+ "test": "NODE_ENV=test node tests/testdb.js | tap-spec",
8
"babel": "babel index.js -d build",
9
"babelWatch": "babel index.js --watch --out-file build/index.js",
10
"start": "node ./src/index.js",
tests/testdb.js
@@ -0,0 +1,7 @@
+const test = require('tape');
+
+test('tape is working', (t) => {
+ const num = 2;
+ t.equal(num, 2, 'should return 2');
+ t.end();
+})
0 commit comments