1
0
Fork 0
freesewing/sites/backend/tests/index.mjs
2022-11-12 17:34:31 +01:00

18 lines
551 B
JavaScript

import { userTests } from './user.mjs'
import { accountTests } from './account.mjs'
import { apikeyTests } from './apikey.mjs'
import { personTests } from './person.mjs'
import { setup } from './shared.mjs'
const runTests = async (...params) => {
//await userTests(...params)
//await apikeyTests(...params)
//await accountTests(...params)
await personTests(...params)
}
// Load initial data required for tests
const { chai, config, expect, store } = await setup()
// Note run the tests using this data
runTests(chai, config, expect, store)