mirror of
https://github.com/jambonz/verb-specifications.git
synced 2025-12-18 20:37:46 +00:00
fix: module export to index.js file
This commit is contained in:
4
index.js
4
index.js
@@ -0,0 +1,4 @@
|
||||
module.exports = {
|
||||
...require('./jambonz-app-json-validation'),
|
||||
specs: require('./specs')
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const test = require('tape');
|
||||
const logger = require('pino')({level: process.env.JAMBONES_LOGLEVEL || 'error'});
|
||||
const { validate } = require('../jambonz-app-json-validation');
|
||||
const { validate } = require('..');
|
||||
|
||||
test("validate correct verbs", async (t) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user