diff --git a/packages/ember-cli-fastboot/test/request-details-test.js b/packages/ember-cli-fastboot/test/request-details-test.js index 672b397b..cc0d5e2c 100644 --- a/packages/ember-cli-fastboot/test/request-details-test.js +++ b/packages/ember-cli-fastboot/test/request-details-test.js @@ -1,5 +1,6 @@ 'use strict'; +const path = require('path'); const chai = require('chai'); const expect = chai.expect; const RSVP = require('rsvp'); @@ -11,8 +12,8 @@ function injectMiddlewareAddon(app) { pkg.devDependencies['body-parser'] = process.env.npm_package_devDependencies_body_parser; pkg.dependencies = pkg.dependencies || {}; - pkg.dependencies['fastboot-express-middleware'] = - process.env.npm_package_dependencies_fastboot_express_middleware; + pkg.dependencies['fastboot'] = `file:${path.resolve(__dirname, '../../fastboot')}` + pkg.dependencies['fastboot-express-middleware'] = `file:${path.resolve(__dirname, '../../fastboot-express-middleware')}` pkg['ember-addon'] = { paths: ['lib/post-middleware'], };