Skip to content

Commit

Permalink
removed create-class leftovers and fixed browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Havunen committed Sep 7, 2023
1 parent e2546a4 commit 8de15eb
Show file tree
Hide file tree
Showing 28 changed files with 324 additions and 1,671 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"postinstall": "lerna bootstrap --no-ci && run-p install:* && npm run build",
"test": "npm run test:node && npm run test:node-nodom && npm run test:browser",
"test:node": "cross-env NODE_ENV=test jest --config --no-watchman",
"test:node:debug": "cross-env NODE_ENV=test node --inspect-brk node_modules/jest/bin/jest.js --config --no-watchman --runInBand",
"test:node-nodom": "cross-env NODE_ENV=test jest --config ./jest.config-nodom.js --no-watchman",
"test:coverage": "cross-env NODE_ENV=test jest --runInBand --coverage --no-watchman",
"test:browser": "npm run test:browser:nocompat && npm run test:browser:compat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('inferno-animation animated functional component', () => {
waitForAnimationAndContinue('', afterEachClear, done);
});

it('should render class component extending AnimatedAllComponent into DOM', () => {
it('should render functional component extending AnimatedAllComponent into DOM', () => {
const MyComponent = ({ children }): InfernoNode => {
return <div>{children}</div>;
};
Expand All @@ -211,7 +211,7 @@ describe('inferno-animation animated functional component', () => {
expect(container.textContent).toBe('1');
});

it('should remove class component extending AnimatedAllComponent from DOM', (done) => {
it('should remove functional component extending AnimatedAllComponent from DOM', (done) => {
const My = ({ children }): InfernoNode => {
return <div>{children}</div>;
};
Expand Down Expand Up @@ -278,7 +278,7 @@ describe('inferno-animation animated functional component', () => {
});
});

it('should move class component extending AnimatedAllComponent from DOM', (done) => {
it('should move functional component extending AnimatedAllComponent from DOM', (done) => {
const My = ({ children }): InfernoNode => {
return <div>{children}</div>;
};
Expand Down
334 changes: 0 additions & 334 deletions packages/inferno-compat/__tests__/ReactClass.spec.jsx

This file was deleted.

Loading

0 comments on commit 8de15eb

Please sign in to comment.