Skip to content

Commit b9da1d6

Browse files
committed
skipping legacy context tests
1 parent 461c5e7 commit b9da1d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mobx-react-lite/__tests__/observer.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function runTestSuite(mode: "observer" | "useObserver") {
4949
list: 0
5050
}
5151

52-
const TodoItem = obsComponent(({ todo }: { todo: typeof store.todos[0] }) => {
52+
const TodoItem = obsComponent(({ todo }: { todo: (typeof store.todos)[0] }) => {
5353
renderings.item++
5454
return <li>|{todo.title}</li>
5555
}, true)
@@ -997,7 +997,7 @@ it("dependencies should not become temporarily unobserved", async () => {
997997
expect(doubleDisposed).toBeCalledTimes(1)
998998
})
999999

1000-
it("Legacy context support", () => {
1000+
it.skip("Legacy context support", () => {
10011001
const contextKey = "key"
10021002
const contextValue = "value"
10031003

0 commit comments

Comments
 (0)