@@ -130,7 +130,7 @@ stage2Scenarios
130
130
131
131
// check that the app trees with in repo addon are combined correctly
132
132
expectAudit
133
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
133
+ . module ( './tmp /rewritten-app/index.html' )
134
134
. resolves ( '/@embroider/core/entrypoint' )
135
135
. toModule ( )
136
136
. resolves ( './service/in-repo.js' )
@@ -140,7 +140,7 @@ stage2Scenarios
140
140
test ( 'incorporates in-repo-addons of in-repo-addons correctly' , function ( ) {
141
141
// secondary in-repo-addon was correctly detected and activated
142
142
expectAudit
143
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
143
+ . module ( './tmp /rewritten-app/index.html' )
144
144
. resolves ( '/@embroider/core/entrypoint' )
145
145
. toModule ( )
146
146
. resolves ( './services/secondary.js' )
@@ -206,7 +206,7 @@ stage2Scenarios
206
206
207
207
test ( 'verifies that the correct lexigraphically sorted addons win' , function ( ) {
208
208
let expectModule = expectAudit
209
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
209
+ . module ( './tmp /rewritten-app/index.html' )
210
210
. resolves ( '/@embroider/core/entrypoint' )
211
211
. toModule ( ) ;
212
212
expectModule . resolves ( './service/in-repo.js' ) . to ( './lib/in-repo-b/_app_/service/in-repo.js' ) ;
@@ -216,7 +216,7 @@ stage2Scenarios
216
216
217
217
test ( 'addons declared as dependencies should win over devDependencies' , function ( ) {
218
218
expectAudit
219
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
219
+ . module ( './tmp /rewritten-app/index.html' )
220
220
. resolves ( '/@embroider/core/entrypoint' )
221
221
. toModule ( )
222
222
. resolves ( './service/dep-wins-over-dev.js' )
@@ -225,7 +225,7 @@ stage2Scenarios
225
225
226
226
test ( 'in repo addons declared win over dependencies' , function ( ) {
227
227
expectAudit
228
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
228
+ . module ( './tmp /rewritten-app/index.html' )
229
229
. resolves ( '/@embroider/core/entrypoint' )
230
230
. toModule ( )
231
231
. resolves ( './service/in-repo-over-deps.js' )
@@ -234,7 +234,7 @@ stage2Scenarios
234
234
235
235
test ( 'ordering with before specified' , function ( ) {
236
236
expectAudit
237
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
237
+ . module ( './tmp /rewritten-app/index.html' )
238
238
. resolves ( '/@embroider/core/entrypoint' )
239
239
. toModule ( )
240
240
. resolves ( './service/test-before.js' )
@@ -243,7 +243,7 @@ stage2Scenarios
243
243
244
244
test ( 'ordering with after specified' , function ( ) {
245
245
expectAudit
246
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
246
+ . module ( './tmp /rewritten-app/index.html' )
247
247
. resolves ( '/@embroider/core/entrypoint' )
248
248
. toModule ( )
249
249
. resolves ( './service/test-after.js' )
@@ -672,7 +672,7 @@ stage2Scenarios
672
672
673
673
test ( 'non-static other paths are included in the entrypoint' , function ( assert ) {
674
674
expectAudit
675
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
675
+ . module ( './tmp /rewritten-app/index.html' )
676
676
. resolves ( '/@embroider/core/entrypoint' )
677
677
. toModule ( )
678
678
. withContents ( contents => {
@@ -696,7 +696,7 @@ stage2Scenarios
696
696
697
697
test ( 'static other paths are not included in the entrypoint' , function ( ) {
698
698
expectAudit
699
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
699
+ . module ( './tmp /rewritten-app/index.html' )
700
700
. resolves ( '/@embroider/core/entrypoint' )
701
701
. toModule ( )
702
702
. withContents ( content => {
@@ -706,7 +706,7 @@ stage2Scenarios
706
706
707
707
test ( 'top-level static other paths are not included in the entrypoint' , function ( ) {
708
708
expectAudit
709
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
709
+ . module ( './tmp /rewritten-app/index.html' )
710
710
. resolves ( '/@embroider/core/entrypoint' )
711
711
. toModule ( )
712
712
. withContents ( content => {
@@ -716,7 +716,7 @@ stage2Scenarios
716
716
717
717
test ( 'staticAppPaths do not match partial path segments' , function ( ) {
718
718
expectAudit
719
- . module ( './node_modules/.embroider /rewritten-app/index.html' )
719
+ . module ( './tmp /rewritten-app/index.html' )
720
720
. resolves ( '/@embroider/core/entrypoint' )
721
721
. toModule ( )
722
722
. withContents ( content => {
@@ -788,9 +788,9 @@ dummyAppScenarios
788
788
} ) ;
789
789
790
790
test ( 'dummy app sees that its being developed' , function ( ) {
791
- let assertFile = expectFile (
792
- '../../node_modules/.embroider/rewritten-app/components/inside-dummy-app.js'
793
- ) . transform ( build . transpile ) ;
791
+ let assertFile = expectFile ( '../../tmp/rewritten-app/components/inside-dummy-app.js' ) . transform (
792
+ build . transpile
793
+ ) ;
794
794
assertFile . matches ( / c o n s o l e \. l o g \( t r u e \) / ) ;
795
795
} ) ;
796
796
0 commit comments