Skip to content
Myr

test(shallow): update 'shallow' and 'useShallow' imports to use 'zustand/shallow' (#3157)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Wonsuk Choi · committed by GitHub · parent 3d9ecb1 · Browse files · 2 files+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−3 removed

  • tests:+2 added−3 removed

2 files+2 added−3 removed

modified:tests/vanilla/shallow.test.tsx+1 added-1 removed
1import { describe, expect, it } from 'vitest'2import { shallow } from 'zustand/vanilla/shallow'2import { shallow } from 'zustand/shallow'34describe('shallow', () => {5 it('compares primitive values', () => {6 expect(shallow(true, true)).toBe(true)
226 unmodified lines
modified:tests/shallow.test.tsx+1 added-2 removed