Skip to content

Commit

Permalink
camelCase all data-test tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt authored Mar 14, 2024
1 parent 1337b8f commit da2d76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/FsExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>

<button
data-test="fs-example-button"
data-test="fsExampleButton"
@click="getCurrentDirectory"
>
<template v-if="!error">
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/views/FsExample.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('FsExample.vue', () => {
test('Click button', async () => {
const wrapper = await setupWrapper();

const button = wrapper.find('[data-test="fs-example-button"]');
const button = wrapper.find('[data-test="fsExampleButton"]');
await button.trigger('click');

expect(window.nw.require)
Expand All @@ -38,7 +38,7 @@ describe('FsExample.vue', () => {

const wrapper = await setupWrapper();

const button = wrapper.find('[data-test="fs-example-button"]');
const button = wrapper.find('[data-test="fsExampleButton"]');
await button.trigger('click');

expect(window.nw.require)
Expand Down

0 comments on commit da2d76b

Please sign in to comment.