mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
renamed api to feature-api
This commit is contained in:
parent
3dd35fcf71
commit
03edb7601b
@ -3,7 +3,7 @@ var express = require('express'),
|
||||
log4js = require('log4js'),
|
||||
logger = require('./lib/logger'),
|
||||
routes = require('./lib/routes'),
|
||||
api = require('./lib/api'),
|
||||
api = require('./lib/featureApi'),
|
||||
validator = require('express-validator'),
|
||||
app = express(),
|
||||
router = express.Router(),
|
||||
|
@ -5,7 +5,7 @@ var eventStore = require('../lib/eventStore');
|
||||
describe('EventStore', function () {
|
||||
describe('#create()', function () {
|
||||
it('should emit event', function (done) {
|
||||
eventStore.on(events.featureCreated, function (x) {
|
||||
eventStore.once(events.featureCreated, function (x) {
|
||||
assert(x);
|
||||
done();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user