Skip to content

Commit 7282fe7

Browse files
author
alexandremagno
committed
making all tests as pending, to enable again later on
1 parent bcef8ab commit 7282fe7

File tree

5 files changed

+4
-225
lines changed

5 files changed

+4
-225
lines changed

frontend/package-lock.json

Lines changed: 0 additions & 212 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"license": "ISC",
4242
"devDependencies": {
4343
"enzyme": "^3.6.0",
44-
"enzyme-adapter-react-16": "^1.2.0",
44+
"enzyme-adapter-react-16": "^1.15.7",
4545
"enzyme-react-intl": "^2.0.2",
4646
"extract-react-intl": "^0.6.0",
4747
"extract-react-intl-messages": "^0.10.0",

frontend/tests/components/cardTeam.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
import React from 'react'
66
import TeamCard from '../../src/components/Cards/TeamCard'
7-
import { mount, configure } from 'enzyme'
8-
import Adapter from 'enzyme-adapter-react-16'
9-
10-
configure({ adapter: new Adapter() })
7+
import { mount } from 'enzyme'
118

129
xdescribe('components', () => {
1310
describe('Card component', () => {

frontend/tests/components/checkout.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
import React from 'react'
66
import { CheckoutFormPure } from '../../src/components/checkout/checkout-form'
7-
import { mount, configure } from 'enzyme'
8-
import Adapter from 'enzyme-adapter-react-16'
9-
10-
configure({ adapter: new Adapter() })
7+
import { mount } from 'enzyme'
118

129
/*
1310
To do

frontend/tests/components/messageAuthor.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
import React from 'react'
66
import MessageAuthor from '../../src/components/task/task-message-author'
7-
import { mount, configure } from 'enzyme'
8-
import Adapter from 'enzyme-adapter-react-16'
9-
10-
configure({ adapter: new Adapter() })
7+
import { mount } from 'enzyme'
118

129
xdescribe('components', () => {
1310
describe('message author component', () => {

0 commit comments

Comments
 (0)