Commit f885aaa6 authored by nanahira's avatar nanahira

unit tests

parent a16d2ed6
Pipeline #13772 passed with stages
in 1 minute and 16 seconds
......@@ -155,13 +155,9 @@ describe('On service', () => {
//expect(app.myUsingConsumer.pongResult).toBe('pong');
});
/*
it('Should handle partial using deps', async () => {
Context.service('dummyProvider');
app = new App();
app.on('service', (name) => {
console.log('service', name);
});
await app.start();
app.plugin(MyPartialConsumer);
expect(app.myPartialConsumer).toBeDefined();
......@@ -177,5 +173,4 @@ describe('On service', () => {
expect(await app.waterfall('pang', 'hi')).toEqual('pang: hi');
expect(await app.waterfall('pong', 'hi')).toEqual('pong: hi');
});
*/
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment