Skip to content

Commit

Permalink
Fix System Tests in CI environment
Browse files Browse the repository at this point in the history
Resolve breaking changes introduced in `@hotwired/turbo` that were later
fixed in [@hotwired/turbo#4f334da][] (and further resolved in
[@hotwired/turbo#7a7c6e2][]).

CI is failing because those changes are not available as part of a beta
release. Despite the fact that these changes wouldn't be necessary if
that release were available, this resolves the broken build pipeline
more immediately.

[@hotwired/turbo#4f334da]: hotwired/turbo@4f334da
[@hotwired/turbo#7a7c6e2]: hotwired/turbo@7a7c6e2
  • Loading branch information
seanpdoyle committed Dec 7, 2023
1 parent 4eb4e92 commit da4576f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/dummy/app/javascript/application.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
import "@hotwired/turbo-rails"
import { Turbo } from "@hotwired/turbo-rails"

window.Turbo = Turbo

0 comments on commit da4576f

Please sign in to comment.