Skip to content

Commit

Permalink
updating a test
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Oct 17, 2023
1 parent 6cd3520 commit ceb6b25
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/scenarios/watch-mode-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,15 @@ app.forEachScenario(scenario => {

hooks.beforeEach(assert => {
assertRewrittenFile = (rewrittenPath: string) => {
let fullPath = path.join(app.dir, 'node_modules', '.embroider', 'rewritten-app', ...rewrittenPath.split('/'));
let fullPath = path.join(
app.dir,
'node_modules',
'.embroider',
'rewritten-app',
'node_modules',
'app-template',
...rewrittenPath.split('/')
);
let file = new File(rewrittenPath, fullPath);
return new AssertFile(assert, file);
};
Expand Down

0 comments on commit ceb6b25

Please sign in to comment.