File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ describe('renders in fastboot build', function() {
2020 . then ( app =>
2121 app . editPackageJSON ( pkg => {
2222 pkg . devDependencies [ 'ember-cli-fastboot' ] = '*' ;
23+ // ember-fetch-adapter@0.4.0 has ember-fetch as dependency, we want to test
24+ pkg . devDependencies [ 'ember-fetch-adapter' ] = '0.4.0' ;
2325 // These 2 are in ember-fetch's package.json, symlinking to dummy won't help resolve
2426 pkg . devDependencies [ 'abortcontroller-polyfill' ] = '*' ;
2527 pkg . devDependencies [ 'node-fetch' ] = '*' ;
@@ -39,6 +41,12 @@ describe('renders in fastboot build', function() {
3941 return app . stopServer ( ) ;
4042 } ) ;
4143
44+ it ( 'builds into dist/ember-fetch/fetch-fastboot.js ignoring sub dependency version conflict' , function ( ) {
45+ expect ( app . filePath ( 'dist/index.html' ) ) . to . be . a . file ( ) ;
46+ expect ( app . filePath ( 'dist/ember-fetch/fetch-fastboot.js' ) ) . to . be . a . file ( ) ;
47+ expect ( app . filePath ( 'dist/assets/dummy-fastboot.js' ) ) . to . be . a . file ( ) ;
48+ } ) ;
49+
4250 it ( 'fetches in fastboot mode' , function ( ) {
4351 return get ( {
4452 url : 'http://localhost:49741/' ,
You can’t perform that action at this time.
0 commit comments