[SW-6980, SW-5966] Feat/improve components #514
Annotations
10 errors
src/components/Button/__tests__/index.test.tsx > Button > test the colors > primary variant enable:
src/components/Button/__tests__/index.test.tsx#L44
Error: expect(element).toHaveClass("sw-ui-btn-primary")
Expected the element to have class:
sw-ui-btn-primary
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:44:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > outline variant enable:
src/components/Button/__tests__/index.test.tsx#L50
Error: expect(element).toHaveClass("sw-ui-btn-outline")
Expected the element to have class:
sw-ui-btn-outline
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:50:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > invisible variant enable:
src/components/Button/__tests__/index.test.tsx#L56
Error: expect(element).toHaveClass("sw-ui-btn-invisible")
Expected the element to have class:
sw-ui-btn-invisible
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:56:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > danger variant enable:
src/components/Button/__tests__/index.test.tsx#L62
Error: expect(element).toHaveClass("bg-error-600")
Expected the element to have class:
bg-error-600
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:62:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > primary variant disabled:
src/components/Button/__tests__/index.test.tsx#L73
Error: expect(element).toHaveClass("sw-ui-btn-primary")
Expected the element to have class:
sw-ui-btn-primary
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:73:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > outline variant disabled:
src/components/Button/__tests__/index.test.tsx#L80
Error: expect(element).toHaveClass("sw-ui-btn-outline")
Expected the element to have class:
sw-ui-btn-outline
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:80:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > invisible variant disabled:
src/components/Button/__tests__/index.test.tsx#L87
Error: expect(element).toHaveClass("sw-ui-btn-invisible")
Expected the element to have class:
sw-ui-btn-invisible
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:87:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the colors > danger variant disabled:
src/components/Button/__tests__/index.test.tsx#L94
Error: expect(element).toHaveClass("bg-error-600")
Expected the element to have class:
bg-error-600
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:94:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the sizes > xl size:
src/components/Button/__tests__/index.test.tsx#L107
Error: expect(element).toHaveClass("text-xl")
Expected the element to have class:
text-xl
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:107:29
|
src/components/Button/__tests__/index.test.tsx > Button > test the sizes > lg size:
src/components/Button/__tests__/index.test.tsx#L115
Error: expect(element).toHaveClass("h-[48px] w-full")
Expected the element to have class:
h-[48px] w-full
Received:
text-sm font-medium text-coolGray-900
❯ src/components/Button/__tests__/index.test.tsx:115:29
|