From 0f174592c891aeade82bc00e4bbdcc7f6e91da79 Mon Sep 17 00:00:00 2001 From: Caleb Porzio Date: Wed, 10 May 2023 15:23:24 -0400 Subject: [PATCH] wip --- tests/cypress/utils.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/cypress/utils.js b/tests/cypress/utils.js index 8ab89652f..2c1a2f7cd 100644 --- a/tests/cypress/utils.js +++ b/tests/cypress/utils.js @@ -87,10 +87,7 @@ function injectHtmlAndBootAlpine(cy, templateAndPotentiallyScripts, callback, pa }) } -export let haveData = - (key, value) => - ([el]) => - expect(root(el)._x_dataStack[0][key]).to.deep.equal(value); +export let haveData = (key, value) => ([el]) => expect(root(el)._x_dataStack[0][key]).to.deep.equal(value); export let haveFocus = () => el => expect(el).to.have.focus