forked from DigitalHistory/assignment-01-html-css
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update travis.yml - add package.json - add dummy test script This test should run properly and travis build should now pass (hopefully!)
- Loading branch information
1 parent
a3d43ed
commit 6794289
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "node" | ||
- "8" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "web-skills-intro-assignment", | ||
"version": "1.0.0", | ||
"description": "An assignment for Digital History at University of Toronto. Tests basic Javascript skills.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/titaniumbones/assignment-web-skills-intro.git" | ||
}, | ||
"keywords": [ | ||
"javascript", | ||
"assignment" | ||
], | ||
"author": "Matt Price", | ||
"license": "GPL-3.0", | ||
"bugs": { | ||
"url": "https://github.com/titaniumbones/assignment-web-skills-intro/issues" | ||
}, | ||
"homepage": "https://github.com/titaniumbones/assignment-web-skills-intro#readme", | ||
"dependencies": { | ||
"chai": "^4.1.2", | ||
"mocha": "^4.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var assert = require('assert'); | ||
describe('Array', function() { | ||
describe('#indexOf()', function() { | ||
it('should return -1 when the value is not present', function() { | ||
assert.equal(-1, [1,2,3].indexOf(4)); | ||
}); | ||
}); | ||
}); | ||
|