Files
minecraft-bedrock-json-schemas/test/src/Utillity.test.ts
2021-08-18 20:48:09 +02:00

21 lines
553 B
TypeScript

import { expect } from "chai";
import { Files } from "./Utillity";
describe("Files", () => {
it("Root", () => {
const temp = Files.RootFolder();
console.log(temp);
expect(temp.endsWith("lib"), "ended with lib").to.be.false;
expect(temp.endsWith("lib\\test"), "ended with lib\\test").to.be.false;
expect(temp.endsWith("lib/test"), "ended with lib/test").to.be.false;
});
it("Test", () => {
const temp = Files.TestFolder();
console.log(temp);
expect(temp.endsWith("lib"), "ended with lib").to.be.false;
});
});