diff --git a/src/index.ts b/src/index.ts index e69de29b..b9df1cec 100644 --- a/src/index.ts +++ b/src/index.ts @@ -0,0 +1,7 @@ +import path = require("path"); + +export namespace DummyFiles { + export function TestFolder(): string { + return path.join(__dirname, "..", "..", "test"); + } +} diff --git a/test/src/Utillity.test.ts b/test/src/Utillity.test.ts index e149a780..97b79e86 100644 --- a/test/src/Utillity.test.ts +++ b/test/src/Utillity.test.ts @@ -1,4 +1,5 @@ import { expect } from "chai"; +import { DummyFiles } from "../../src"; import { Files } from "./Utillity"; describe("Files", () => { @@ -17,4 +18,8 @@ describe("Files", () => { expect(temp.endsWith("lib"), "ended with lib").to.be.false; }); + + it("Random", () => { + expect(Files.TestFolder()).to.equal(DummyFiles.TestFolder()); + }); });