Updated
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
import path = require("path");
|
||||||
|
|
||||||
|
export namespace DummyFiles {
|
||||||
|
export function TestFolder(): string {
|
||||||
|
return path.join(__dirname, "..", "..", "test");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
|
import { DummyFiles } from "../../src";
|
||||||
import { Files } from "./Utillity";
|
import { Files } from "./Utillity";
|
||||||
|
|
||||||
describe("Files", () => {
|
describe("Files", () => {
|
||||||
@@ -17,4 +18,8 @@ describe("Files", () => {
|
|||||||
|
|
||||||
expect(temp.endsWith("lib"), "ended with lib").to.be.false;
|
expect(temp.endsWith("lib"), "ended with lib").to.be.false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("Random", () => {
|
||||||
|
expect(Files.TestFolder()).to.equal(DummyFiles.TestFolder());
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user