✨(tokens) add TS generator and re-organize the repo
Add TS Generator which is a lot based on JS Generator.
This commit is contained in:
@@ -19,7 +19,7 @@ describe("JsGenerator", () => {
|
||||
});
|
||||
|
||||
it("generates valid JS file.", async () => {
|
||||
const tokensFile = path.join(__dirname, Config.tokenFilenames.js);
|
||||
const tokensFile = path.join(__dirname, Config.tokenFilename + ".js");
|
||||
expect(fs.existsSync(tokensFile)).toEqual(false);
|
||||
await run(["", "", "-g", "js"]);
|
||||
expect(fs.existsSync(tokensFile)).toEqual(true);
|
||||
|
||||
Reference in New Issue
Block a user