mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-29 17:12:37 +00:00
Minor test clean up
This commit is contained in:
@@ -83,7 +83,6 @@ suite('apis/StyleSheet/Store', () => {
|
|||||||
store.set('fontFamily', '"Helvetica Neue", Arial, sans-serif')
|
store.set('fontFamily', '"Helvetica Neue", Arial, sans-serif')
|
||||||
store.set('marginBottom', '0px')
|
store.set('marginBottom', '0px')
|
||||||
store.set('width', '100%')
|
store.set('width', '100%')
|
||||||
console.log(store.toString())
|
|
||||||
|
|
||||||
const expected = '/* 6 unique declarations */\n' +
|
const expected = '/* 6 unique declarations */\n' +
|
||||||
'.backgroundColor\\:rgba\\(0\\,0\\,0\\,0\\){background-color:rgba(0,0,0,0);}\n' +
|
'.backgroundColor\\:rgba\\(0\\,0\\,0\\,0\\){background-color:rgba(0,0,0,0);}\n' +
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
import assert from 'assert'
|
import assert from 'assert'
|
||||||
import flattenStyle from '../flattenStyle'
|
import flattenStyle from '../flattenStyle'
|
||||||
|
|
||||||
suite('flattenStyle', () => {
|
suite('apis/StyleSheet/flattenStyle', () => {
|
||||||
test('should merge style objects', () => {
|
test('should merge style objects', () => {
|
||||||
const style1 = {opacity: 1}
|
const style1 = {opacity: 1}
|
||||||
const style2 = {order: 2}
|
const style2 = {order: 2}
|
||||||
|
|||||||
Reference in New Issue
Block a user