Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed May 10, 2023
1 parent 61afc45 commit 0f17459
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/cypress/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0f17459

Please sign in to comment.