Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eamahanna committed Oct 14, 2020
1 parent 671d378 commit d413733
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ define([
it('has a method "init" which returns a promise then null', async () => {
var initPromise = mockAppCell.init();
expect(initPromise instanceof Promise).toBeTrue();

var result = await initPromise;
expect(result).toBeNull();
});

it('has a method stop which returns a Promise', () => {
Expand All @@ -140,7 +137,7 @@ define([
});

it('has a method detach which returns a Promise', () => {
var detachPromise = mockAppCell.stop();
var detachPromise = mockAppCell.detach();
expect(detachPromise instanceof Promise).toBeTrue();
});

Expand Down

0 comments on commit d413733

Please sign in to comment.