Skip to content

Commit

Permalink
test: add rendering snapshot test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 12, 2023
1 parent 1b68af1 commit 59e7b8e
Show file tree
Hide file tree
Showing 9 changed files with 328 additions and 46 deletions.
1 change: 1 addition & 0 deletions .nuxtrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
typescript.includeWorkspace=true
modules[]=nuxt-vitest
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
"get-port-please": "3.0.1",
"husky": "8.0.3",
"lint-staged": "13.1.1",
"magic-regexp": "^0.6.2",
"nuxt": "3.2.0",
"nuxt-vitest": "^0.6.6",
"pinst": "3.0.0",
"playwright": "1.30.0",
"prettier": "2.8.4",
Expand Down
2 changes: 1 addition & 1 deletion playground/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ const locale = process.server ? 'en-US' : 'en-GB'
<br>
<NuxtTime :datetime="new Date()" second="numeric" month="long" day="numeric" />
<br>
<NuxtTime datetime="2023-02-11T08:24:08.396Z" month="long" day="numeric" />
<NuxtTime data-test-fixed datetime="2023-02-11T08:24:08.396Z" month="long" day="numeric" />
</div>
</template>
Loading

0 comments on commit 59e7b8e

Please sign in to comment.