UNPKG

@ali-i18n-fe/dada-component

Version:
20 lines (16 loc) 418 B
const { shellSyncExec } = require("./utils"); const path = require("path"); const binPath = path.resolve(__dirname, "../node_modules/.bin"); const jestPath = path.resolve(binPath, "jest"); const Test = { async load() { shellSyncExec( `${jestPath} --passWithNoTests --config ${path.resolve( __dirname, "constants", "jest.config.js" )}` ); }, }; module.exports = Test;