Skip to content

Commit

Permalink
feat: build improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Deisling committed Nov 19, 2024
1 parent 7b80c56 commit 022a34a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/composables/useColorScheme.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('useColorScheme', () => {

it('does not set invalid color scheme', () => {
const { setColorScheme, colorScheme } = useColorScheme();
// @ts-expect-error check runtime
setColorScheme('invalid');
expect(colorScheme.value).not.toEqual('invalid');
expect(localStorage.getItem('acv-theme')).not.toEqual('invalid');
Expand Down

0 comments on commit 022a34a

Please sign in to comment.