chore: upgrading to v3 for json compression (#351)
* chore: upgrading to v3 for json compression * adding local build step * adding test for compress * auto: generate
This commit is contained in:
12
test/src/compress-specification.test.ts
Normal file
12
test/src/compress-specification.test.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { statSync } from "node:fs";
|
||||
import * as specification from "../../source/compress_specification.json";
|
||||
import * as path from "path";
|
||||
|
||||
describe("Compress Specification", function () {
|
||||
const files = specification.Files;
|
||||
|
||||
test.each(files)("$Source", ({ Source }) => {
|
||||
const p = path.join(".", "source", Source);
|
||||
expect(statSync(p).isFile()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user