diff --git a/test/node_test_setup.js b/test/node_test_setup.js index 247911693b7..cdea682678a 100644 --- a/test/node_test_setup.js +++ b/test/node_test_setup.js @@ -25,7 +25,7 @@ QUnit.recreateVisualRefs = Number(process.env.QUNIT_RECREATE_VISUAL_REFS); QUnit.config.filter = process.env.QUNIT_FILTER; -global.fabric = require('../dist/fabric'); +global.fabric = require('../dist/fabric.umd'); global.pixelmatch = require('pixelmatch'); global.fs = require('fs'); global.visualCallback = { diff --git a/test/testem.config.js b/test/testem.config.js index ea21727bdad..ce8e536b9c6 100644 --- a/test/testem.config.js +++ b/test/testem.config.js @@ -1,12 +1,12 @@ /** - * common config + * common config * @see https://github.com/testem/testem/blob/master/docs/config_file.md */ module.exports = { framework: 'qunit', serve_files: [ - 'dist/fabric.js', + 'dist/fabric.umd.js', 'test/lib/assert.js' ], styles: [ @@ -45,4 +45,4 @@ module.exports = { timeout: 540, browser_start_timeout: 60, parallel: 4 -} \ No newline at end of file +}