@featherds/chips
Advanced tools
Comparing version 0.12.5 to 0.12.6
{ | ||
"name": "@featherds/chips", | ||
"version": "0.12.5", | ||
"version": "0.12.6", | ||
"publishConfig": { | ||
@@ -12,7 +12,7 @@ "access": "public" | ||
"dependencies": { | ||
"@featherds/composables": "^0.12.5", | ||
"@featherds/icon": "^0.12.5", | ||
"@featherds/radio": "^0.12.5", | ||
"@featherds/ripple": "^0.12.5", | ||
"@featherds/styles": "^0.12.5", | ||
"@featherds/composables": "^0.12.6", | ||
"@featherds/icon": "^0.12.6", | ||
"@featherds/radio": "^0.12.6", | ||
"@featherds/ripple": "^0.12.6", | ||
"@featherds/styles": "^0.12.6", | ||
"vue": "^3.1.0-0" | ||
@@ -25,3 +25,3 @@ }, | ||
"types": "./src/index.d.ts", | ||
"gitHead": "902fb935f136f66098ff1f777f7ca1294854cd42" | ||
"gitHead": "efae40a88230bf71e4927f9e40604d095fb92d35" | ||
} |
import GridChip from "./GridChip.vue"; | ||
import { mount } from "@vue/test-utils"; | ||
import * as id from "@featherds/utils/id"; | ||
jest.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
import { vi, expect, describe, it } from "vitest"; | ||
vi.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
@@ -44,3 +45,3 @@ const getWrapper = function (options = {}, addIcon = false) { | ||
const attrs = { | ||
onDelete: jest.fn(() => {}), | ||
onDelete: vi.fn(() => {}), | ||
}; | ||
@@ -63,3 +64,3 @@ const wrapper = getWrapper({ props, slots, attrs }); | ||
const attrs = { | ||
onClick: jest.fn(() => {}), | ||
onClick: vi.fn(() => {}), | ||
}; | ||
@@ -66,0 +67,0 @@ const wrapper = getWrapper({ props, slots, attrs }); |
@@ -5,8 +5,9 @@ import RadioChip from "./RadioChip.vue"; | ||
import { nextTick } from "vue"; | ||
jest.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
import { vi, expect, describe, it } from "vitest"; | ||
vi.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
const mockProvide = () => { | ||
const register = jest.fn(); | ||
const select = jest.fn(); | ||
const blur = jest.fn(); | ||
const register = vi.fn(); | ||
const select = vi.fn(); | ||
const blur = vi.fn(); | ||
return { | ||
@@ -13,0 +14,0 @@ provide: { |
import GridChip from "./GridChip.vue"; | ||
import { mount } from "@vue/test-utils"; | ||
import * as id from "@featherds/utils/id"; | ||
jest.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
import { vi, expect, describe, it } from "vitest"; | ||
vi.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
@@ -6,0 +7,0 @@ const getWrapper = function (options = {}, addIcon = false) { |
@@ -6,3 +6,4 @@ import FeatherChipList from "./FeatherChipList.vue"; | ||
import { h, nextTick, RendererElement, RendererNode, VNode } from "vue"; | ||
jest.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
import { vi, expect, describe, it } from "vitest"; | ||
vi.spyOn(id, "getSafeId").mockImplementation((x) => x); | ||
@@ -9,0 +10,0 @@ import axe from "@featherds/utils/test/axe"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
92112
1386
Updated@featherds/icon@^0.12.6
Updated@featherds/radio@^0.12.6
Updated@featherds/ripple@^0.12.6
Updated@featherds/styles@^0.12.6