Skip to content

Commit e58d5cb

Browse files
author
Scott Cabot
committed
fix(test): changed variable declaration to fix jest testrunner
Changed packageDir declaration from const to var to avoid babel parsing throwing an error.
1 parent 9370169 commit e58d5cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@packages/test/src/fix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function bootstrap(fixture?: string, directory?: string) {
1313
});
1414

1515
if (typeof fixture !== 'undefined') {
16-
const packageDir = await pkgDir(directory);
16+
var packageDir = await pkgDir(directory);
1717
if (!packageDir) {
1818
throw new Error(`ENOENT, no such file or directory '${packageDir}'`);
1919
}

0 commit comments

Comments
 (0)