mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-31 01:36:11 +00:00
Fix lint errors
This commit is contained in:
@@ -46,8 +46,8 @@ suite('Image', () => {
|
|||||||
assert(backgroundImage.indexOf(defaultSource.uri) > -1)
|
assert(backgroundImage.indexOf(defaultSource.uri) > -1)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('prop "onError"', function(done) {
|
test('prop "onError"', function (done) {
|
||||||
this.timeout(5000);
|
this.timeout(5000)
|
||||||
|
|
||||||
function onError(e) {
|
function onError(e) {
|
||||||
assert.equal(e.nativeEvent.type, 'error')
|
assert.equal(e.nativeEvent.type, 'error')
|
||||||
@@ -60,8 +60,8 @@ suite('Image', () => {
|
|||||||
/>)
|
/>)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('prop "onLoad"', function(done) {
|
test('prop "onLoad"', function (done) {
|
||||||
this.timeout(5000);
|
this.timeout(5000)
|
||||||
|
|
||||||
function onLoad(e) {
|
function onLoad(e) {
|
||||||
assert.equal(e.nativeEvent.type, 'load')
|
assert.equal(e.nativeEvent.type, 'load')
|
||||||
|
|||||||
Reference in New Issue
Block a user