diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/services/posts.test.js | 10 | ||||
-rw-r--r-- | test/services/users.test.js | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/services/posts.test.js b/test/services/posts.test.js new file mode 100644 index 0000000..a4bdd63 --- /dev/null +++ b/test/services/posts.test.js @@ -0,0 +1,10 @@ +const assert = require('assert'); +const app = require('../../src/app'); + +describe('\'posts\' service', () => { + it('registered the service', () => { + const service = app.service('posts'); + + assert.ok(service, 'Registered the service'); + }); +}); diff --git a/test/services/users.test.js b/test/services/users.test.js new file mode 100644 index 0000000..cc555e5 --- /dev/null +++ b/test/services/users.test.js @@ -0,0 +1,10 @@ +const assert = require('assert'); +const app = require('../../src/app'); + +describe('\'users\' service', () => { + it('registered the service', () => { + const service = app.service('users'); + + assert.ok(service, 'Registered the service'); + }); +}); |