diff --git a/bin/retest b/bin/retest index c8500df..4382fcf 100755 --- a/bin/retest +++ b/bin/retest @@ -9,7 +9,7 @@ let options = { "--with-dom": "--with-dom" } -if (file.includes(options["--with-dom"])) { +if (args.includes(options["--with-dom"])) { var jsdom = new JSDOM(""); globalThis.window = jsdom.window; globalThis.document = jsdom.window.document;