Skip to content

Commit

Permalink
Fix config error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinv committed Sep 2, 2024
1 parent 28911ad commit 10adafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/functional/form_submission_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ test("following a link with [data-turbo-method] and [data-turbo=true] set when h
test("following a link with [data-turbo-method] and [data-turbo=true] set when Turbo.session.drive = false", async ({
page
}) => {
await page.evaluate(() => (window.Turbo.config.drive = false))
await page.evaluate(() => (window.Turbo.config.drive.enabled = false))

const link = await page.locator("#turbo-method-post-to-targeted-frame")
await link.evaluate((link) => link.setAttribute("data-turbo", "true"))
Expand Down

0 comments on commit 10adafb

Please sign in to comment.