feat(testing): Switched to mysql in local setup

This commit is contained in:
Muhammed Mustafa
2022-10-13 14:29:51 +05:30
parent 2abcb0cb42
commit 602299ec54

View File

@@ -9,7 +9,7 @@ export interface NcContext {
const setup = async ({page, typeOnLocalSetup}: {page: Page, typeOnLocalSetup?: string}): Promise<NcContext> => {
let dbType = process.env.CI ? process.env.E2E_TYPE : typeOnLocalSetup;
dbType = dbType || 'sqlite';
dbType = dbType || 'mysql';
const response = await axios.post(`http://localhost:8080/api/v1/meta/test/reset`, {
parallelId: process.env.TEST_PARALLEL_INDEX,