Skip to content

Commit ef842dd

Browse files
committed
checkpoint: lock return type in testable unit module
1 parent 02e14ec commit ef842dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vitest/TestableUnit/getAllThatAreMissingTestCompanion.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {
2+
type ParsedPath,
23
parse,
34
resolve,
45
} from 'path';
@@ -7,7 +8,7 @@ import {
78
fileURLToPath,
89
} from 'url';
910

10-
const TestableUnit_getAllThatAreMissingTestCompanion = () => {
11+
const TestableUnit_getAllThatAreMissingTestCompanion = (): ParsedPath[] => {
1112
const pathToCurrentModule = fileURLToPath(import.meta.url);
1213
const pathToProjectRoot = resolve(pathToCurrentModule, '../../');
1314
const relativePathsToUnitsWithoutCompanions = ['src/library/a.ts', 'src/features/b.ts', 'src/library/c/d.ts'];

0 commit comments

Comments
 (0)