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

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

No files matched your search

+8
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;
-6
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",