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

18 lines
411 B
TypeScript
Raw Normal View History

2024-05-11 11:16:00 +02:00
import { Files } from "./utillity";
2021-08-18 20:15:02 +02:00
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")).toBeFalsy();
expect(temp.endsWith("lib\\test")).toBeFalsy();
expect(temp.endsWith("lib/test")).toBeFalsy();
2021-08-18 20:15:02 +02:00
});
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")).toBeFalsy();
2021-08-18 20:15:02 +02:00
});
});