]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/conf/config-schema.js
2 * @fileoverview Tests for config-schema.
3 * @author Evgeny Poberezkin
8 //------------------------------------------------------------------------------
10 //------------------------------------------------------------------------------
12 const configSchema
= require("../../conf/config-schema.js"),
13 assert
= require("assert");
15 const ajv
= require("../../lib/shared/ajv")();
17 //------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------
21 describe("config-schema", () => {
22 it("should be valid against meta-schema", () => {
23 const valid
= ajv
.validateSchema(configSchema
);
25 assert
.strictEqual(valid
, true);