mirror of
https://github.com/zhigang1992/viff.git
synced 2026-04-30 05:35:36 +08:00
fix reported image url. Qiu
This commit is contained in:
@@ -108,7 +108,7 @@ module.exports =
|
||||
'it should generate file-based json file': (test) ->
|
||||
ImageGenerator.generate @reporterObj
|
||||
parsedCompares = JSON.parse @writeFileSync.lastCall.args[1]
|
||||
test.equals parsedCompares.compares.firefox['/404.html?a=1'].images.build, 'viff/screenshots/firefox/%2F404.html%3Fa%3D1/build.png'
|
||||
test.equals parsedCompares.compares.firefox['/404.html?a=1'].images.build, 'screenshots/firefox/%2F404.html%3Fa%3D1/build.png'
|
||||
|
||||
test.done()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user