diff --git a/src/apis/StyleSheet/__tests__/index-test.js b/src/apis/StyleSheet/__tests__/index-test.js index dbffb76f..b1cff0bd 100644 --- a/src/apis/StyleSheet/__tests__/index-test.js +++ b/src/apis/StyleSheet/__tests__/index-test.js @@ -35,7 +35,7 @@ describe('apis/StyleSheet', () => { test('renders a style sheet in the browser', () => { StyleSheet.create({ root: { color: 'red' } }); - expect(document.getElementById('__react-native-style').textContent).toEqual(getDefaultStyleSheet()); + expect(document.getElementById('react-native-style__').textContent).toEqual(getDefaultStyleSheet()); }); }); diff --git a/src/apis/StyleSheet/index.js b/src/apis/StyleSheet/index.js index d88fca43..a8550ba5 100644 --- a/src/apis/StyleSheet/index.js +++ b/src/apis/StyleSheet/index.js @@ -8,7 +8,7 @@ import ReactNativePropRegistry from '../../modules/ReactNativePropRegistry'; let styleElement; let shouldInsertStyleSheet = ExecutionEnvironment.canUseDOM; -const STYLE_SHEET_ID = '__react-native-style'; +const STYLE_SHEET_ID = 'react-native-style__'; const absoluteFillObject = { position: 'absolute', left: 0, right: 0, top: 0, bottom: 0 };