mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 06:23:16 +00:00
And one more go around
This commit is contained in:
parent
f5b2f0d035
commit
cce7348744
2 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
|||
import { jest } from "@jest/globals";
|
||||
import { getDiskUsage } from "./util/storage.js";
|
||||
|
||||
global.jest = jest;
|
||||
global.getDiskUsage = getDiskUsage;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { calculatePercentageUsed, checkDiskUtilization } from "../util/storage.js";
|
||||
import { calculatePercentageUsed, checkDiskUtilization, getDiskUsage } from "../util/storage.js";
|
||||
|
||||
test("ensure calculatePercentageUsed returns expected values", () => {
|
||||
expect(calculatePercentageUsed(30, 100)).toEqual(30);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue