This commit is contained in:
Ben Richeson 2020-01-11 21:35:41 -05:00
parent 1ef19479f9
commit e65dbed785
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -106,3 +106,4 @@ dist
# Stores VSCode versions used for testing VSCode extensions # Stores VSCode versions used for testing VSCode extensions
.vscode-test .vscode-test
/.idea /.idea
/speedtest

View file

@ -1,12 +1,12 @@
import Speedtest from "./Speedtest"; import Speedtest from "./Speedtest";
let interval: number = 1800000; // ms let interval: number = 1800000; // ms
let file: string = "./data/data.xlsx"; let file: string = "./dist/data/data.xlsx";
run(); run();
setInterval(() => run(), interval); setInterval(() => run(), interval);
function run (): void { function run (): void {
new Speedtest(file) new Speedtest(file)
.run() .run();
} }