aboutsummaryrefslogtreecommitdiff
path: root/test/unit/tree.unit.test.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-29 17:10:54 +0200
committerHampusM <hampus@hampusmat.com>2021-07-29 17:10:54 +0200
commit93a4a8bf924588cd866714b86ec8f16f8d51dec0 (patch)
treea86d3ecba5838fac11042e8ae257dfe1bd3840cb /test/unit/tree.unit.test.ts
parent9d6d2ce8cf34af6e787dae901ee3e5914c4c0fa4 (diff)
Organized tsconfigs, fixed tests and improved some backend functions
Diffstat (limited to 'test/unit/tree.unit.test.ts')
-rw-r--r--test/unit/tree.unit.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/tree.unit.test.ts b/test/unit/tree.unit.test.ts
index d34c93e..3fe49f3 100644
--- a/test/unit/tree.unit.test.ts
+++ b/test/unit/tree.unit.test.ts
@@ -82,7 +82,7 @@ describe("Tree", () => {
// Extract the archive entries to an array of entries
const entries = await new Promise((resolve: (value: Entry[]) => void) => {
- const entries = [];
+ const entries: Entry[] = [];
extract_archive.on("finish", () => {
resolve(entries);