From 72bfe499c536db08984853e011fc36bf8a4cf85b Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Mon, 5 Oct 2020 14:28:27 -0700 Subject: [PATCH] Add to View tests --- .../__snapshots__/index-test.js.snap | 65 ++++++++++++ .../src/exports/View/__tests__/index-test.js | 99 +++++++++++++++++++ 2 files changed, 164 insertions(+) diff --git a/packages/react-native-web/src/exports/View/__tests__/__snapshots__/index-test.js.snap b/packages/react-native-web/src/exports/View/__tests__/__snapshots__/index-test.js.snap index 0cfddbcf..21eb16f6 100644 --- a/packages/react-native-web/src/exports/View/__tests__/__snapshots__/index-test.js.snap +++ b/packages/react-native-web/src/exports/View/__tests__/__snapshots__/index-test.js.snap @@ -1,5 +1,11 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`components/View allows "dir" to be overridden 1`] = ` +
+`; + exports[`components/View default 1`] = `
`; +exports[`components/View prop "accessibilityLabel" value is set 1`] = ` +
+`; + +exports[`components/View prop "accessibilityLiveRegion" value is set 1`] = ` +
+`; + +exports[`components/View prop "accessibilityRole" value alters HTML element 1`] = ` + +`; + +exports[`components/View prop "accessibilityRole" value is "button" 1`] = ` +
+`; + +exports[`components/View prop "accessibilityRole" value is set 1`] = ` +