Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Aug 20, 2020
1 parent dc7cc88 commit d9ff5cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions __tests__/labeler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const cases = [
describe('run', () => {
test.each(cases)('given %p', async (name, inputs, expected) => {
const labeler = new Labeler(inputs as Inputs);
await labeler.printRepoLabels();
console.log(
(await labeler.labels).map(label => {
return label.ghaction_log;
Expand Down Expand Up @@ -111,6 +112,8 @@ describe('run', () => {
}
}
}

expect(res).toEqual(expected);
expect(() => labeler.run()).not.toThrow();
});
});

0 comments on commit d9ff5cc

Please sign in to comment.