UNPKG

xeira

Version:

One Web Dev stack tool to rule them all

25 lines (19 loc) 789 B
/** * Copyright (c) 2022-present, afialapis.com * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict' import { testWithMocha } from './mocha/index.mjs' //import { testWithMochaAPI } from './mocha_api/index.mjs' import {parseMochaTestPath, parseMochaExtraParams} from './params.mjs' //import { testWithVitest } from './vitest/index.mjs' async function xeiraTest(context) { const testPathStr= await parseMochaTestPath(context) const extraParams= await parseMochaExtraParams(context) await testWithMocha(context, extraParams, testPathStr) //await testWithMochaAPI(context, extraParams, testPathStr) //await testWithVitest(context, extraParams, testPathStr) } export default xeiraTest