Skip to content

Commit

Permalink
test: ./scripts/estimate.js should run without error with provided ar…
Browse files Browse the repository at this point in the history
…guments
  • Loading branch information
coolaj86 committed Aug 6, 2024
1 parent a6a6e9f commit 2bd1149
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/estimate-script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";

let Estimate = require("../scripts/estimate.js");

process.argv[2] = '3';
process.argv[3] = '2106925';
process.argv[4] = '2024-07-19T02:56:54Z';

Estimate.main();

0 comments on commit 2bd1149

Please sign in to comment.