mirror of
https://github.com/cupcakearmy/koa-router.git
synced 2024-12-22 08:06:27 +00:00
Testing & Version Bump
This commit is contained in:
parent
2705b4848b
commit
9cfea5f86c
10
package.json
10
package.json
@ -1,12 +1,15 @@
|
||||
{
|
||||
"name": "cca-koa-router",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"description": "Koa Router",
|
||||
"main": "Router.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/CupCakeArmy/koa-router.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"keywords": [
|
||||
"Koa",
|
||||
"Router",
|
||||
@ -18,5 +21,8 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/CupCakeArmy/koa-router/issues"
|
||||
},
|
||||
"homepage": "https://github.com/CupCakeArmy/koa-router#readme"
|
||||
"homepage": "https://github.com/CupCakeArmy/koa-router#readme",
|
||||
"devDependencies": {
|
||||
"mocha": "^3.5.0"
|
||||
}
|
||||
}
|
8
test/all.js
Normal file
8
test/all.js
Normal file
@ -0,0 +1,8 @@
|
||||
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));
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user