-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #1325 Update webhook edit + create modal tests
- Loading branch information
Showing
9 changed files
with
332 additions
and
412 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
45 changes: 0 additions & 45 deletions
45
packages/marketplace/src/components/ui/__tests__/__snapshots__/webhook-edit-modal.tsx.snap
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
.../components/ui/developer-webhooks/__test__/__snapshots__/webhook-edit-modal.test.tsx.snap
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,31 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`WebhookEditModal should match a snapshot 1`] = ` | ||
<Provider | ||
store={ | ||
Object { | ||
"clearActions": [Function], | ||
"dispatch": [Function], | ||
"getActions": [Function], | ||
"getState": [Function], | ||
"replaceReducer": [Function], | ||
"subscribe": [Function], | ||
} | ||
} | ||
> | ||
<Memo() | ||
afterClose={[MockFunction]} | ||
appId="" | ||
closeModal={[MockFunction]} | ||
isUpdate={true} | ||
visible={true} | ||
webhookId="testWebhookId" | ||
> | ||
<Component | ||
afterClose={[MockFunction]} | ||
renderChildren={true} | ||
visible={true} | ||
/> | ||
</Memo()> | ||
</Provider> | ||
`; |
File renamed without changes.
112 changes: 47 additions & 65 deletions
112
...nents/ui/__tests__/webhook-edit-modal.tsx → ...ooks/__test__/webhook-edit-modal.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
File renamed without changes.
Oops, something went wrong.