Skip to content

Commit 2bd1149

Browse files
committed
test: ./scripts/estimate.js should run without error with provided arguments
1 parent a6a6e9f commit 2bd1149

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/estimate-script.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"use strict";
2+
3+
let Estimate = require("../scripts/estimate.js");
4+
5+
process.argv[2] = '3';
6+
process.argv[3] = '2106925';
7+
process.argv[4] = '2024-07-19T02:56:54Z';
8+
9+
Estimate.main();

0 commit comments

Comments
 (0)