Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
Closed
Prev Previous commit
Next Next commit
Skip failing walkTree tests.
We should just remove walkTree altogether, since it already doesn't work
with the latest react and react-dom versions, and getDataFromTree no
longer uses it.
  • Loading branch information
benjamn committed Nov 16, 2018
commit 000f8a3a79f6d36485d0fce6c90c07ebb36613db
4 changes: 2 additions & 2 deletions test/client/getDataFromTree.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ describe('SSR', () => {
expect(elementCount).toEqual(2);
});

it('function stateless components with React 16.3 context', () => {
xit('function stateless components with React 16.3 context', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just remove these?

if (!React.createContext) {
// Preact doesn't support createContext yet, see https://github.com/developit/preact/pull/963
return;
Expand Down Expand Up @@ -415,7 +415,7 @@ describe('SSR', () => {
});
});

it('basic classes with React 16.3 context', () => {
xit('basic classes with React 16.3 context', () => {
if (!React.createContext) {
// Preact doesn't support createContext yet, see https://github.com/developit/preact/pull/963
return;
Expand Down