Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit a7b4d03

Browse files
committed
test: add tests for mode function
1 parent 28ffffd commit a7b4d03

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/chakra-ui-core/src/utils/color-mode-observer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export const defineColorModeObserver = ({ colorMode, theme, icons } = {}) => Vue
66
icons
77
})
88

9-
109
/**
1110
* This observed store object observed the colorMode and stores it in an
1211
* observed object that other components can consume.

packages/chakra-ui-core/src/utils/color-mode-observer.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { mode, defineColorModeObserver } from './color-mode-observer'
22

3-
43
describe('colorModeObserver', () => {
54
it('`colorModeObserver` should provide and observe values', () => {
65
const baseTheme = {

0 commit comments

Comments
 (0)