diff --git a/test/integration/smoke-testing/test_footer_links.js b/test/integration/smoke-testing/test_footer_links.js index 1888034c6..8b1903446 100644 --- a/test/integration/smoke-testing/test_footer_links.js +++ b/test/integration/smoke-testing/test_footer_links.js @@ -281,9 +281,9 @@ tap.test('clickScratchDayLink', options, t => { // SCRATCH CONFERENCE tap.test('clickScratchConferenceLink', options, t => { const linkText = 'Scratch Conference'; - const expectedHref = '/conference'; + const expectedHref = '/conference/20'; clickFooterLinks(linkText).then(url => { - t.equal(url.substr(-expectedHref.length), expectedHref); + t.match(url.substr(-(expectedHref.length + 2)), expectedHref); t.end(); }); }); diff --git a/webpack.config.js b/webpack.config.js index 476359ba1..8428cbdae 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -78,7 +78,11 @@ module.exports = { { test: /\.jsx?$/, loader: 'babel-loader', - include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/] + include: [ + path.resolve(__dirname, 'src'), + /node_modules[\\/]scratch-[^\\/]+[\\/]src/, + /node_modules[\\/]pify/ + ] }, { test: /\.scss$/, @@ -144,6 +148,10 @@ module.exports = { from: 'node_modules/scratch-gui/dist/static/blocks-media', to: 'static/blocks-media' }]), + new CopyWebpackPlugin([{ + from: 'node_modules/scratch-gui/dist/chunks', + to: 'static/chunks' + }]), new CopyWebpackPlugin([{ from: 'node_modules/scratch-gui/dist/extension-worker.js' }]),