This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
generated from nogic1008/nuxt-ts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: setup docus npx nuxi@latest init docs -t themes/docus * feat: move folder (temp) * feat: add series page * chore(deps): update packages * feat: migrate song page (WIP) * feat: migrate 1st folder * feat: fix * test: add component test
- Loading branch information
Showing
2,234 changed files
with
29,010 additions
and
28,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { mount, RouterLinkStub } from '@vue/test-utils' | ||
import { describe, expect, test } from 'vitest' | ||
|
||
import Levels from '~~/components/content/Levels.vue' | ||
|
||
describe('components/content/Levels.vue', () => { | ||
test.each([ | ||
['/playstation-jp/1st', '1'], | ||
['/playstation-jp/1st,/playstation-jp/2nd', '2'], | ||
['/playstation-jp/1st,/playstation-jp/2nd', '2,3'], | ||
])('(links: %s, level: %s) renders expected badge', (links, level) => { | ||
const wrapper = mount(Levels, { | ||
global: { stubs: { Badge: true, NuxtLink: RouterLinkStub } }, | ||
props: { links, level }, | ||
}) | ||
expect(wrapper.element).toMatchSnapshot() | ||
}) | ||
}) |
Oops, something went wrong.