mirror of
https://github.com/cupcakearmy/koa-router.git
synced 2024-12-22 16:16:29 +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",
|
"name": "cca-koa-router",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"description": "Koa Router",
|
"description": "Koa Router",
|
||||||
"main": "Router.js",
|
"main": "Router.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/CupCakeArmy/koa-router.git"
|
"url": "git+https://github.com/CupCakeArmy/koa-router.git"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"test": "mocha"
|
||||||
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Koa",
|
"Koa",
|
||||||
"Router",
|
"Router",
|
||||||
@ -18,5 +21,8 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/CupCakeArmy/koa-router/issues"
|
"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