Iterate on test setup

This commit is contained in:
Nick Gerleman
2022-12-24 00:25:02 -08:00
parent 0a82167c30
commit 0f67a0a458
38 changed files with 36 additions and 61 deletions

View File

@@ -7,9 +7,9 @@
* @format
*/
const wrapAsm = require('./wrapAsm');
const wrapAsm = require('../wrapAsm');
module.exports = (loadAsm) => ({
loadYoga: () => loadAsm().then(wrapAsm),
...require('./generated/YGEnums'),
...require('../generated/YGEnums'),
});

View File

@@ -7,5 +7,5 @@
* @format
*/
const wrapAsm = require('./wrapAsm');
const wrapAsm = require('../wrapAsm');
module.exports = (asm) => wrapAsm(asm());

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/asmjs-async');
module.exports = require("./entryAsync")(asm);
module.exports = require("./_entryAsync")(asm);

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/asmjs-sync');
module.exports = require("./entrySync")(asm);
module.exports = require("./_entrySync")(asm);

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/wasm-async');
module.exports = require("./entryAsync")(asm);
module.exports = require("./_entryAsync")(asm);

View File

@@ -8,4 +8,4 @@
*/
const asm = require('../build/wasm-sync');
module.exports = require("./entrySync")(asm);
module.exports = require("./_entrySync")(asm);