Skip to content
Permalink
Browse files

test, bugfix: HttpFileHandler test case run path dependencies

  • Loading branch information...
Fiber-Man authored and xicilion committed Apr 28, 2019
1 parent 57dce84 commit 7fbfa1fb160b3df32a0b9175c152e3cf22f6df1f
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/http_test.js
@@ -1316,6 +1316,17 @@ describe("http", () => {
});

describe("check path", () => {
let testpath;

before(() => {
testpath = process.cwd();
process.chdir(__dirname);
});

after(() => {
process.chdir(testpath);
});

it("can read child path", () => {
let str = `this is test in sub folder.`;
let urls = [

0 comments on commit 7fbfa1f

Please sign in to comment.
You can’t perform that action at this time.