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