Skip to content

Commit c262250

Browse files
committed
pretty
1 parent e34ff90 commit c262250

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

__tests__/labeler.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const cases = [
7272
]
7373
];
7474

75-
const orginalGitHubRepo = process.env.GITHUB_REPOSITORY
75+
const orginalGitHubRepo = process.env.GITHUB_REPOSITORY;
7676

7777
describe('run', () => {
7878
beforeAll(() => {
@@ -155,7 +155,7 @@ describe('run', () => {
155155
skipDelete: true,
156156
dryRun: true,
157157
exclude: []
158-
}
158+
};
159159
nock('https://api.github.com').get('/repos/crazy-max/ghaction-github-labeler/labels').reply(200, labelsFixture());
160160

161161
nock('https://api.github.com')
@@ -168,10 +168,10 @@ describe('run', () => {
168168

169169
const labeler = new Labeler(input);
170170
const fileLabels = await labeler.fileLabels;
171-
expect(fileLabels.length).toBe(16)
172-
expect(fileLabels[15]).toEqual(expect.objectContaining({ name: ":unicorn: Special" }))
173-
expect(fileLabels[0]).toEqual(expect.objectContaining({ name: ":robot: bot", description: "I am robot" }))
174-
expect(fileLabels[1]).toEqual(expect.objectContaining({ name: ":bug: bug", description: "Damn bugs" }))
171+
expect(fileLabels.length).toBe(16);
172+
expect(fileLabels[15]).toEqual(expect.objectContaining({name: ':unicorn: Special'}));
173+
expect(fileLabels[0]).toEqual(expect.objectContaining({name: ':robot: bot', description: 'I am robot'}));
174+
expect(fileLabels[1]).toEqual(expect.objectContaining({name: ':bug: bug', description: 'Damn bugs'}));
175175
expect(() => labeler.run()).not.toThrow();
176-
})
176+
});
177177
});

0 commit comments

Comments
 (0)