Skip to content

Commit 26c26e8

Browse files
committed
Fix beforeEach usage in labelManager tests
1 parent 1000d9d commit 26c26e8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/labelManager.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, expect, vi } from 'vitest';
1+
import { describe, it, expect, vi, beforeEach } from 'vitest';
22
import * as core from '@actions/core';
33
import { labelsFromMetadata, ensureLabelExists } from '../src/core/labelManager';
44

@@ -55,6 +55,4 @@ describe('ensureLabelExists', () => {
5555
});
5656
});
5757
});
58-
function beforeEach(setupFunction: () => void): void {
59-
setupFunction();
60-
}
58+

0 commit comments

Comments
 (0)