add tests for File and test based operations. Only unzip to go

This commit is contained in:
d98762625 2019-03-14 17:54:06 +00:00
parent 2019ae43d7
commit b8cb7e9ba8
6 changed files with 76 additions and 7 deletions

View file

@ -42,6 +42,14 @@ class File {
get size() {
return this.data.length;
}
/**
* Return lastModified as Date
*/
get lastModifiedDate() {
return new Date(this.lastModified);
}
}
export default File;

View file

@ -13,12 +13,6 @@ export default [
"Label",
"Comment",
// Exclude file ops until HTML5 File Object can be mimicked
// "Tar",
// "Untar",
"Unzip",
"Zip",
// esprima doesn't work in .mjs
"JavaScriptBeautify",
"JavaScriptMinify",