Files
minecraft-bedrock-json-schemas/test/src/Utillity.test.ts

20 lines
570 B
TypeScript
Raw Normal View History

2021-08-18 20:15:02 +02:00
import { expect } from "chai";
2021-08-18 21:21:29 +02:00
import { DummyFiles } from "../../src/main";
2021-08-18 20:15:02 +02:00
import { Files } from "./Utillity";
2022-07-13 21:15:38 +02:00
describe("Files", function () {
it("Root", function () {
2021-08-18 20:15:02 +02:00
const temp = Files.RootFolder();
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;
});
2022-07-13 21:15:38 +02:00
it("Test", function () {
2021-08-18 20:15:02 +02:00
const temp = Files.TestFolder();
expect(temp.endsWith("lib"), "ended with lib").to.be.false;
});
});