From 6cc2bb578e87fb6e81a377b9c6cbd66b4ca11910 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Sun, 2 Jun 2024 19:39:56 +0400 Subject: [PATCH] test(definitions): Test Suites https://github.com/asyncapi/spec-json-schemas/issues/539 --- test/{index.test.mjs => bundler.mjs} | 6 ------ vite.config.ts | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) rename test/{index.test.mjs => bundler.mjs} (92%) diff --git a/test/index.test.mjs b/test/bundler.mjs similarity index 92% rename from test/index.test.mjs rename to test/bundler.mjs index 0467f425..e34df344 100644 --- a/test/index.test.mjs +++ b/test/bundler.mjs @@ -4,12 +4,6 @@ const assert = require('assert'); const fs = require('fs'); const path = require('path'); -suite('AsyncAPI: 3.0.0', () => { - suite('Bundler', () => { - test('Validator Test Suite', () => require('@test/schemas.mjs')); - }) -}); - describe('AsyncAPI: Bundler', () => { it('should return an object', () => { const asyncapi = require('..'); diff --git a/vite.config.ts b/vite.config.ts index f73df205..12bbf616 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,8 @@ export default defineConfig({ test: { globals: true, include: [ + '**/test/schemas.mjs', + '**/test/bundler.mjs', '**/test/index.test.mjs', '**/test/bindings/bindings.suite.mjs', '**/test/definitions/3.0.0/definitions.suite.mjs',