diff --git a/packages/ember-cli-fastboot/test/fastboot-config-test.js b/packages/ember-cli-fastboot/test/fastboot-config-test.js index b49d3bbe..1fcbdf29 100644 --- a/packages/ember-cli-fastboot/test/fastboot-config-test.js +++ b/packages/ember-cli-fastboot/test/fastboot-config-test.js @@ -24,6 +24,8 @@ describe('FastBoot config', function () { app.editPackageJSON((pkg) => { delete pkg.devDependencies['ember-fetch']; delete pkg.devDependencies['ember-welcome-page']; + // needed because @ember-data/store does `FastBoot.require('crypto')` + pkg.fastbootDependencies = ['crypto']; }); return app.run('npm', 'install'); }) diff --git a/packages/ember-cli-fastboot/test/fastboot-location-config-test.js b/packages/ember-cli-fastboot/test/fastboot-location-config-test.js index db9fa444..af3179a8 100644 --- a/packages/ember-cli-fastboot/test/fastboot-location-config-test.js +++ b/packages/ember-cli-fastboot/test/fastboot-location-config-test.js @@ -24,6 +24,8 @@ describe('FastBootLocation Configuration', function () { app.editPackageJSON((pkg) => { delete pkg.devDependencies['ember-fetch']; delete pkg.devDependencies['ember-welcome-page']; + // needed because @ember-data/store does `FastBoot.require('crypto')` + pkg.fastbootDependencies = ['crypto']; }); return app.run('npm', 'install'); }) diff --git a/packages/ember-cli-fastboot/test/fastboot-location-test.js b/packages/ember-cli-fastboot/test/fastboot-location-test.js index 407a9fa8..6c859310 100644 --- a/packages/ember-cli-fastboot/test/fastboot-location-test.js +++ b/packages/ember-cli-fastboot/test/fastboot-location-test.js @@ -23,6 +23,8 @@ describe('FastBootLocation', function () { app.editPackageJSON((pkg) => { delete pkg.devDependencies['ember-fetch']; delete pkg.devDependencies['ember-welcome-page']; + // needed because @ember-data/store does `FastBoot.require('crypto')` + pkg.fastbootDependencies = ['crypto']; }); return app.run('npm', 'install'); }) diff --git a/packages/ember-cli-fastboot/test/package-json-test.js b/packages/ember-cli-fastboot/test/package-json-test.js index 9bc668f2..2c03d75d 100644 --- a/packages/ember-cli-fastboot/test/package-json-test.js +++ b/packages/ember-cli-fastboot/test/package-json-test.js @@ -26,6 +26,8 @@ describe('generating package.json', function () { customApp.editPackageJSON((pkg) => { delete pkg.devDependencies['ember-fetch']; delete pkg.devDependencies['ember-welcome-page']; + // needed because @ember-data/store does `FastBoot.require('crypto')` + pkg.fastbootDependencies = ['crypto']; }); return customApp.run('npm', 'install'); }) diff --git a/packages/ember-cli-fastboot/test/request-details-test.js b/packages/ember-cli-fastboot/test/request-details-test.js index 672b397b..db17bcde 100644 --- a/packages/ember-cli-fastboot/test/request-details-test.js +++ b/packages/ember-cli-fastboot/test/request-details-test.js @@ -18,6 +18,8 @@ function injectMiddlewareAddon(app) { }; delete pkg.devDependencies['ember-fetch']; delete pkg.devDependencies['ember-welcome-page']; + // needed because @ember-data/store does `FastBoot.require('crypto')` + pkg.fastbootDependencies = ['crypto']; }); return app.run('npm', 'install'); } diff --git a/packages/ember-cli-fastboot/test/root-url-test.js b/packages/ember-cli-fastboot/test/root-url-test.js index f3a0038c..344b9e23 100644 --- a/packages/ember-cli-fastboot/test/root-url-test.js +++ b/packages/ember-cli-fastboot/test/root-url-test.js @@ -24,6 +24,8 @@ describe('rootUrl acceptance', function () { app.editPackageJSON((pkg) => { delete pkg.devDependencies['ember-fetch']; delete pkg.devDependencies['ember-welcome-page']; + // needed because @ember-data/store does `FastBoot.require('crypto')` + pkg.fastbootDependencies = ['crypto']; }); return app.run('npm', 'install'); })