You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/17 08:19:29 UTC
[GitHub] janpio edited a comment on issue #215: CB-13179:(all) invoke
onEvent listener with _realReader as applyThis
janpio edited a comment on issue #215: CB-13179:(all) invoke onEvent listener with _realReader as applyThis
URL: https://github.com/apache/cordova-plugin-file/pull/215#issuecomment-421924223
Yes, it seems to be some formatting things for now:
```
cordova-plugin-file/www/FileReader.js
139:72error Strings must use singlequotequotes
139:92error Missing space before value for key 'loaded'key-spacing
139:114error Missing space before value for key 'total'key-spacing
159:68error Strings must use singlequotequotes
159:84error Missing space before value for key 'target'key-spacing
163:71error Strings must use singlequotequotes
163:90error Missing space before value for key 'target'key-spacing
182:65error Strings must use singlequotequotes
182:82error Missing space before value for key 'target'key-spacing
186:67error Strings must use singlequotequotes
186:86error Missing space before value for key 'target'key-spacing
207:82error Missing space before value for key 'target'key-spacing
211:86error Missing space before value for key 'target'key-spacing
```
Run locally with `npm run eslint`.
But there are also actual test failures later on:
```
✗ file.spec.106 should be able to write a File to a FileWriter
-writer.onerror - Error writing content on file: verify.txt
{"type":"error","bubbles":false,"cancelBubble":false,"cancelable":false,"lengthComputable":false,"loaded":0,"total":0,"target":{"fileName":"","length":0,"localURL":"file:///persistent/verify.txt","position":0,"readyState":2,"result":null,"error":{"code":9},"onwritestart":null,"onprogress":null,"onwrite":null,"onabort":null}}
✗ file.spec.107 should be able to write a sliced File to a FileWriter
-Expected 0 to be 40.
-Expected 0 to be 40.
-writer.onerror - Error writing content on file: verify2.txt
{"type":"error","bubbles":false,"cancelBubble":false,"cancelable":false,"lengthComputable":false,"loaded":0,"total":0,"target":{"fileName":"","length":0,"localURL":"file:///persistent/verify2.txt","position":0,"readyState":2,"result":null,"error":{"code":9},"onwritestart":null,"onprogress":null,"onwrite":null,"onabort":null}}
✗ file.spec.108 should be able to write binary data from a File
-Expected 0 to be 10.
-Expected 0 to be 10.
-writer.onerror - Error writing content on file: verify.bin
{"type":"error","bubbles":false,"cancelBubble":false,"cancelable":false,"lengthComputable":false,"loaded":0,"total":0,"target":{"fileName":"","length":0,"localURL":"file:///persistent/verify.bin","position":0,"readyState":2,"result":null,"error":{"code":9},"onwritestart":null,"onprogress":null,"onwrite":null,"onabort":null}}
1.1.13 Backwards compatibility
✗ file.spec.109 should be able to resolve a file:/// URL
-Expected 0 to be 32.
-Expected 0 to be 32.
```
You run those with `npm test`.
But thanks for rebasing!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org