mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08: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('marginBottom', '0px')
|
||||
store.set('width', '100%')
|
||||
console.log(store.toString())
|
||||
|
||||
const expected = '/* 6 unique declarations */\n' +
|
||||
'.backgroundColor\\:rgba\\(0\\,0\\,0\\,0\\){background-color:rgba(0,0,0,0);}\n' +
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
import assert from 'assert'
|
||||
import flattenStyle from '../flattenStyle'
|
||||
|
||||
suite('flattenStyle', () => {
|
||||
suite('apis/StyleSheet/flattenStyle', () => {
|
||||
test('should merge style objects', () => {
|
||||
const style1 = {opacity: 1}
|
||||
const style2 = {order: 2}
|
||||
|
||||
Reference in New Issue
Block a user