mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-02 02:25:22 +00:00
npm-script: fix 'test'
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
"prepublish": "NODE_ENV=publish npm run build",
|
"prepublish": "NODE_ENV=publish npm run build",
|
||||||
"test:specs": "NODE_ENV=test karma start config/karma.config.js",
|
"test:specs": "NODE_ENV=test karma start config/karma.config.js",
|
||||||
"test:specs:watch": "npm run test:specs -- --no-single-run",
|
"test:specs:watch": "npm run test:specs -- --no-single-run",
|
||||||
"test": "npm run specs && npm run lint"
|
"test": "npm run test:specs && npm run lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": ">=0.13.3",
|
"react": ">=0.13.3",
|
||||||
|
|||||||
@@ -102,8 +102,8 @@ suite('TextInput', () => {
|
|||||||
)
|
)
|
||||||
const height = dom.getBoundingClientRect().height
|
const height = dom.getBoundingClientRect().height
|
||||||
// need a range because of cross-browser differences
|
// need a range because of cross-browser differences
|
||||||
assert.ok(height >= 60)
|
assert.ok(height >= 60, height)
|
||||||
assert.ok(height <= 65)
|
assert.ok(height <= 66, height)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('prop "multiline"', () => {
|
test('prop "multiline"', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user