Skip to content

Commit 8d9ce98

Browse files
committed
test: use inline lualib imports to get around problems with preloading the entire bundle
1 parent ccae8fd commit 8d9ce98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function testEachVersion<T extends TestBuilder>(
6868
const testName = name === undefined ? version : `${name} [${version}]`;
6969
defineTest(testName, () => {
7070
const builder = common();
71-
builder.setOptions({ luaTarget: version });
71+
builder.setOptions({ luaTarget: version, luaLibImport: tstl.LuaLibImportKind.Inline });
7272
if (typeof specialBuilder === "function") {
7373
specialBuilder(builder);
7474
}

0 commit comments

Comments
 (0)