browsertrix-crawler/test-setup.js
Tessa Walsh 254da95a44
Fix disk utilization computation errors (#338)
* Check size of /crawls by default to fix disk utilization check

* Refactor calculating percentage used and add unit tests

* add tests using df output for with disk usage above and below
threshold

---------

Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2023-07-05 21:58:28 -07:00

3 lines
59 B
JavaScript

import { jest } from "@jest/globals";
global.jest = jest;