Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
giraud florent committed Aug 6, 2023
1 parent 5fce177 commit fabb627
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/basic.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://vitest.dev/guide/debugging.html#vscode to debug tests

import { describe, it, expect, vi, afterAll } from 'vitest'
import { describe, it, expect } from 'vitest'
import { fileURLToPath } from 'node:url'
import { setup, $fetch } from '@nuxt/test-utils'

Expand Down
8 changes: 4 additions & 4 deletions test/fixtures/basic/app.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<h1>Nuxt Stripe module test</h1>
<client-only>
<code>
{{ stripeClient ? stripeClient : 'Loading...' }}
</code>
</client-only>
<code>
{{ stripeClient ? stripeClient : 'Loading...' }}
</code>
</client-only>
<OtherComponent />
</template>

Expand Down
12 changes: 6 additions & 6 deletions test/fixtures/basic/components/OtherComponent.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div>Other component using stripe</div>
<section>
<h2>Stripe client</h2>
<client-only>
<code>
{{ stripeClient ? stripeClient : 'Loading...' }}
</code>
</client-only>
<h2>Stripe client</h2>
<client-only>
<code>
{{ stripeClient ? stripeClient : 'Loading...' }}
</code>
</client-only>
</section>
</template>

Expand Down

0 comments on commit fabb627

Please sign in to comment.