mirror of
https://github.com/status-im/react-native-webview.git
synced 2025-02-23 09:18:38 +00:00
* 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
13 lines
221 B
JavaScript
13 lines
221 B
JavaScript
module.exports = function (api) {
|
|
api && api.cache(false);
|
|
return {
|
|
env: {
|
|
test: {
|
|
presets: [
|
|
"module:metro-react-native-babel-preset"
|
|
],
|
|
}
|
|
}
|
|
};
|
|
}
|