0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-12 16:08:50 -05:00

change test worker decomp require

This commit is contained in:
liabru 2021-01-22 20:18:28 +00:00
parent 1af64eb593
commit 5e746b0175

View file

@ -24,7 +24,7 @@ const { engineCapture } = require('./TestTools');
const MatterDev = stubBrowserFeatures(require('../src/module/main'));
const MatterBuild = stubBrowserFeatures(require('../build/matter'));
const Example = require('../examples/index');
const decomp = require('../demo/lib/decomp');
const decomp = require('poly-decomp');
const runExample = options => {
const Matter = options.useDev ? MatterDev : MatterBuild;