Skip to content

Commit 9e801c2

Browse files
Removed unused declarations in 'harness.ts'.
1 parent 66cf6be commit 9e801c2

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/harness/harness.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
// this will work in the browser via browserify
3232
var _chai: typeof chai = require("chai");
3333
var assert: typeof _chai.assert = _chai.assert;
34-
var expect: typeof _chai.expect = _chai.expect;
3534
declare var __dirname: string; // Node-specific
3635
var global = <any>Function("return this").call(null);
3736
/* tslint:enable:no-var-keyword */
@@ -513,7 +512,6 @@ namespace Harness {
513512
}
514513

515514
const folder: any = fso.GetFolder(path);
516-
const paths: string[] = [];
517515

518516
return filesInFolder(folder, path);
519517
};
@@ -627,18 +625,6 @@ namespace Harness {
627625
}
628626

629627
/// Ask the server to use node's path.resolve to resolve the given path
630-
function getResolvedPathFromServer(path: string) {
631-
const xhr = new XMLHttpRequest();
632-
try {
633-
xhr.open("GET", path + "?resolve", /*async*/ false);
634-
xhr.send();
635-
}
636-
catch (e) {
637-
return { status: 404, responseText: null };
638-
}
639-
640-
return waitForXHR(xhr);
641-
}
642628

643629
export interface XHRResponse {
644630
status: number;

0 commit comments

Comments
 (0)