Skip to content

Commit

Permalink
test(definitions): Test Suites
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakisan committed Jun 2, 2024
1 parent f2e4ae7 commit 6cc2bb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/index.test.mjs → test/bundler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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('..');
Expand Down
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6cc2bb5

Please sign in to comment.