-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* SASS-153 ditch react-test-renderer * SAAS-153 more tests to check for error messages * SAAS-153 message & tests for the home panel * SAAS-153 add message & tests to the details page * SAAS-153 throw away numeral * SAAS-153 refix the panel scroll again * SAAS-153 ts-compatible data-qa passed to components * SAAS-153 trigger the build
- Loading branch information
Alexander Tymchuk
authored
Jun 1, 2020
1 parent
a1bb0f2
commit 4aa375e
Showing
34 changed files
with
1,912 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
codecov: | ||
token: 3e5d4324-1a64-417c-bdab-3583c34f2911 | ||
|
||
coverage: | ||
range: "10...80" | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...p/src/pmm-add-instance-app-panel/AddInstance/AddRemoteInstance/AddRemoteInstance.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 8 additions & 7 deletions
15
pmm-app/src/pmm-settings/Parts/Diagnostics/Diagnostics.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import Diagnostics from './Diagnostics'; | ||
import React from 'react'; | ||
import renderer from 'react-test-renderer'; | ||
import { shallow } from 'enzyme'; | ||
import Diagnostics from './Diagnostics'; | ||
|
||
describe('Diagnostics part', () => { | ||
it('Renders diagnostics', () => { | ||
const root = shallow(<Diagnostics />); | ||
|
||
describe('Diagnostics part test', () => { | ||
it('Renders correct', () => { | ||
const component = renderer.create(<Diagnostics />); | ||
const tree = component.toJSON(); | ||
expect(tree).toMatchSnapshot(); | ||
expect(root).toMatchSnapshot(); | ||
root.unmount(); | ||
}); | ||
}); |
Oops, something went wrong.