temporary_link feature
This commit is contained in:
@@ -4,7 +4,7 @@ global.window = {PYTORRENT_DISABLE_AUTOSTART: true};
|
|||||||
const app = await import('../pytorrent/static/js/app.js');
|
const app = await import('../pytorrent/static/js/app.js');
|
||||||
const source = app.buildRuntimeSource();
|
const source = app.buildRuntimeSource();
|
||||||
|
|
||||||
assert.equal(app.moduleSources.length, 12, 'all frontend module chunks are loaded');
|
assert.equal(app.moduleSources.length, 18, 'all frontend module chunks are loaded');
|
||||||
assert.doesNotThrow(() => Function('io', source), 'assembled frontend runtime compiles');
|
assert.doesNotThrow(() => Function('io', source), 'assembled frontend runtime compiles');
|
||||||
|
|
||||||
for (const marker of [
|
for (const marker of [
|
||||||
|
|||||||
Reference in New Issue
Block a user