123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should render React extensions correctly 1`] = `
- <Extension
- currentUser={
- Object {
- "isLoggedIn": false,
- }
- }
- extension={
- Object {
- "key": "foo",
- "name": "Foo",
- }
- }
- intl={Object {}}
- location={
- Object {
- "action": "PUSH",
- "hash": "",
- "key": "key",
- "pathname": "/path",
- "query": Object {},
- "search": "",
- "state": Object {},
- }
- }
- onFail={[MockFunction]}
- router={
- Object {
- "createHref": [MockFunction],
- "createPath": [MockFunction],
- "go": [MockFunction],
- "goBack": [MockFunction],
- "goForward": [MockFunction],
- "isActive": [MockFunction],
- "push": [MockFunction],
- "replace": [MockFunction],
- "setRouteLeaveHook": [MockFunction],
- }
- }
- >
- <div>
- <HelmetWrapper
- defer={true}
- encodeSpecialCharacters={true}
- title="Foo"
- >
- <SideEffect(NullComponent)
- defer={true}
- encodeSpecialCharacters={true}
- title="Foo"
- >
- <NullComponent
- defer={true}
- encodeSpecialCharacters={true}
- title="Foo"
- />
- </SideEffect(NullComponent)>
- </HelmetWrapper>
- <div />
- </div>
- </Extension>
- `;
-
- exports[`should render React extensions correctly 2`] = `
- <Extension
- currentUser={
- Object {
- "isLoggedIn": false,
- }
- }
- extension={
- Object {
- "key": "foo",
- "name": "Foo",
- }
- }
- intl={Object {}}
- location={
- Object {
- "action": "PUSH",
- "hash": "",
- "key": "key",
- "pathname": "/path",
- "query": Object {},
- "search": "",
- "state": Object {},
- }
- }
- onFail={[MockFunction]}
- router={
- Object {
- "createHref": [MockFunction],
- "createPath": [MockFunction],
- "go": [MockFunction],
- "goBack": [MockFunction],
- "goForward": [MockFunction],
- "isActive": [MockFunction],
- "push": [MockFunction],
- "replace": [MockFunction],
- "setRouteLeaveHook": [MockFunction],
- }
- }
- >
- <div>
- <HelmetWrapper
- defer={true}
- encodeSpecialCharacters={true}
- title="Foo"
- >
- <SideEffect(NullComponent)
- defer={true}
- encodeSpecialCharacters={true}
- title="Foo"
- >
- <NullComponent
- defer={true}
- encodeSpecialCharacters={true}
- title="Foo"
- />
- </SideEffect(NullComponent)>
- </HelmetWrapper>
- <div
- className="extension"
- />
- </div>
- </Extension>
- `;
|