agnostic-router
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "agnostic-router", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Route URLs without requiring Express and friends", | ||
"private": false, | ||
"license": "MIT", | ||
"author": { | ||
@@ -10,4 +10,8 @@ "name": "John Murphy-Teixidor", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/johnvmt/agnostic-router" | ||
}, | ||
"devDependencies": { | ||
"mocha": "2.2.x" | ||
"mocha": "2.4.x" | ||
}, | ||
@@ -17,6 +21,2 @@ "dependencies": { | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/johnvmt/agnostic-router" | ||
}, | ||
"scripts": { | ||
@@ -23,0 +23,0 @@ "test": "mocha test" |
var assert = require('assert'); | ||
describe('Regular object', function(){ | ||
it('should return an _id when object is inserted', function(done) { | ||
describe('Multiple routers', function(){ | ||
it('test when one router is mounted on another', function(done) { | ||
var handlersTouched = []; | ||
@@ -6,0 +6,0 @@ |
var assert = require('assert'); | ||
describe('Regular object', function(){ | ||
it('should do...something', function(done) { | ||
describe('Typical routing', function(){ | ||
it('test regular routing', function(done) { | ||
var handlersTouched = []; | ||
@@ -6,0 +6,0 @@ |
var assert = require('assert'); | ||
describe('Regular object', function(){ | ||
it('should do...something', function(done) { | ||
describe('Use function', function(){ | ||
it('use function handler', function(done) { | ||
var handlersTouched = []; | ||
@@ -6,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89371