Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Sep 17, 2020
1 parent 1821a57 commit a823e4e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,12 @@ describe('License & ActionFactory', () => {

describe('isBeta', () => {
test('false by default', async () => {
const factory = new ActionFactory(def, () => licensingMock.createLicense());
const factory = createActionFactory();
expect(factory.isBeta).toBe(false);
});

test('true', async () => {
const factory = new ActionFactory({ ...def, isBeta: true }, () =>
licensingMock.createLicense()
);
const factory = createActionFactory({ isBeta: true });
expect(factory.isBeta).toBe(true);
});
});

0 comments on commit a823e4e

Please sign in to comment.