Files
react-native-webview/js/__tests__/__snapshots__/WebViewShared-test.js.snap
Malcolm Scruggs fb78d13120 fix(webviewShared.js): Support all valid URI schemes and add testing (#293)
* Change origin whitelist to allow for all valid URIs

- Now supports +, -, and .
- Prevent whitelist from matching when preceded by unwanted characters
- URI must begin with letter
- URI Scheme syntax: https://tools.ietf.org/html/rfc3986#section-3.1

* Add jest testing framework and run it on CI

* Add tests for WebViewShared's createOnShouldStartLoadWithRequest
2019-02-03 19:45:58 +01:00

9 lines
148 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`WebViewShared exports defaultOriginWhitelist 1`] = `
Array [
"http://*",
"https://*",
]
`;