mirror of
https://github.com/gchq/CyberChef
synced 2025-12-24 04:04:25 +00:00
add tests for File and test based operations. Only unzip to go
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user