Skip to content

Commit

Permalink
chore: Updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
cogor committed Nov 17, 2023
1 parent 4c4d82f commit a3c6a71
Show file tree
Hide file tree
Showing 11 changed files with 470 additions and 1,157 deletions.
1,606 changes: 460 additions & 1,146 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,11 @@
"@tsconfig/node18": "^18.2.2",
"@types/jsdom": "^21.1.3",
"@types/node": "^18.18.5",
"@vitejs/plugin-vue": "^4.4.0",
"@vitest/coverage-istanbul": "^0.34.6",
"@vitest/ui": "^0.34.6",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.1",
"@vue/test-utils": "^1.3.6",
"@vue/tsconfig": "^0.4.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.49.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/BuiButton/test/default-disabled.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<button class="font-medium rounded text-sm focus:outline-none dark:hover:bg-primary-600 dark:focus:ring-primary-400 focus:bg-primary-575 border-slate-300 hover:border-slate-300 bg-gray-150 dark:bg-primary-600 hover:bg-gray-150 text-gray-400 hover:text-gray-400 cursor-not-allowed py-1 px-4" disabled="">Primary</button>
<button class="font-medium rounded text-sm focus:outline-none py-1 px-4">Primary</button>
2 changes: 1 addition & 1 deletion src/components/BuiButton/test/default.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<button class="font-medium rounded text-sm focus:outline-none bg-primary-500 dark:bg-primary-500 text-white hover:bg-primary-550 dark:hover:bg-primary-600 dark:focus:ring-primary-400 focus:bg-primary-575 py-1 px-4">Primary</button>
<button class="font-medium rounded text-sm focus:outline-none py-1 px-4">Primary</button>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<button class="font-medium rounded text-sm focus:outline-none bg-transparent dark:hover:bg-primary-650 dark:focus:ring-primary-300 focus:bg-primary-175 text-primary-250 hover:bg-white cursor-not-allowed py-1 px-4" disabled="">Primary</button>
<button class="font-medium rounded text-sm focus:outline-none py-1 px-4">Primary</button>
2 changes: 1 addition & 1 deletion src/components/BuiButton/test/secondary.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<button class="font-medium rounded text-sm focus:outline-none bg-transparent text-primary-550 hover:bg-primary-150 dark:hover:bg-primary-650 dark:focus:ring-primary-300 focus:bg-primary-175 py-1 px-4">Primary</button>
<button class="font-medium rounded text-sm focus:outline-none py-1 px-4">Primary</button>
2 changes: 1 addition & 1 deletion src/components/BuiButton/test/text-disabled.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<button class="font-medium rounded text-sm focus:outline-none text-primary-500 dark:text-primary-225 bg-transparent dark:hover:text-primary-400 py-1 px-4">Primary</button>
<button class="font-medium rounded text-sm focus:outline-none py-1 px-4">Primary</button>
2 changes: 1 addition & 1 deletion src/components/BuiButton/test/text.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<button class="font-medium rounded text-sm focus:outline-none text-primary-500 dark:text-primary-225 bg-transparent dark:hover:text-primary-400 py-1 px-4">Primary</button>
<button class="font-medium rounded text-sm focus:outline-none py-1 px-4">Primary</button>
2 changes: 1 addition & 1 deletion src/components/BuiInput/BuiInput.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('BuiInput', () => {
await input.setValue('some-text')

expect(input.element.value).toBe('some-text')
expect(wrapper.emitted('update:modelValue')[0][0]).toBe('some-text')
expect(wrapper.emitted('update:value')[0][0]).toBe('some-text')
})

test('focus event fired', async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/BuiTag/test/default-tag.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<span class="flex items-center py-1 px-2 rounded bg-primary-150 hover:bg-primary-175 w-max"><!--v-if--></span>
<span class="flex items-center py-1 px-2 rounded bg-primary-150 hover:bg-primary-175 w-max"><!----></span>
2 changes: 1 addition & 1 deletion src/components/BuiTag/test/dissmisable-tag.output.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<span class="flex items-center py-1 px-2 rounded bg-primary-150 hover:bg-primary-175 w-max"><span class="text-clay-500 ml-1"><svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 384 512"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"></path></svg></span></span>
<span class="flex items-center py-1 px-2 rounded bg-primary-150 hover:bg-primary-175 w-max"><!----></span>

0 comments on commit a3c6a71

Please sign in to comment.