Skip to content

Commit

Permalink
test: check for .mjs ssr file instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Jul 1, 2022
1 parent 02a3573 commit 46c6c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/engine_rake_tasks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_rake_tasks
app_frontend_dir.join('ssr/ssr.js').write(SSR_ENTRYPOINT)

within_mounted_app { `bundle exec rake app:vite:build_all` }
assert_path_exists app_ssr_dir.join('ssr.js')
assert_path_exists app_ssr_dir.join('ssr.mjs')
refute_path_exists app_ssr_dir.join('manifest.json')
refute_path_exists app_ssr_dir.join('manifest-assets.json')

Expand Down

0 comments on commit 46c6c91

Please sign in to comment.