-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from americanexpress/feature/v2
feat(v2): updates for React 16, external API tests, and removing all JSX
- Loading branch information
Showing
39 changed files
with
7,294 additions
and
10,059 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ lib | |
|
||
# Testing | ||
test-results | ||
.jest-cache | ||
|
||
# IDE | ||
.idea |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`withWizard should add the correct props to it's child 1`] = ` | ||
<withWizard(ToWrap)> | ||
<ToWrap | ||
hogwarts="rules" | ||
> | ||
<div /> | ||
</ToWrap> | ||
</withWizard(ToWrap)> | ||
exports[`withWizard should add wizard prop to wrapped component 1`] = ` | ||
<WrappedComponent | ||
wizard={ | ||
Object { | ||
"hogwarts": "rules", | ||
} | ||
} | ||
/> | ||
`; | ||
|
||
exports[`withWizard should override context with local props 1`] = ` | ||
<withWizard(ToWrap) | ||
hogwarts="drools" | ||
> | ||
<ToWrap | ||
hogwarts="drools" | ||
> | ||
<div /> | ||
</ToWrap> | ||
</withWizard(ToWrap)> | ||
exports[`withWizard should use component props over context 1`] = ` | ||
<WrappedComponent | ||
wizard="hogwarts" | ||
/> | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`wizardShape exports the correct shape 1`] = ` | ||
Object { | ||
"isRequired": Object { | ||
"go": "squawk", | ||
"history": "squawk", | ||
"next": "squawk", | ||
"previous": "squawk", | ||
"push": "squawk", | ||
"replace": "squawk", | ||
"step": Object { | ||
"id": "squawk", | ||
}, | ||
"steps": Object { | ||
"id": "squawk", | ||
}, | ||
}, | ||
} | ||
`; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.