Time slots app prototype
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
574 B

import { imba } from 'vite-plugin-imba';
import { defineConfig } from 'vite';
import GithubActionsReporter from 'vitest-github-actions-reporter-temp'
export default defineConfig({
plugins: [imba()],
define: {
'import.meta.vitest': 'undefined',
},
test: {
globals: true,
include: ["**/*.{test,spec}.{imba,js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
includeSource: ['src/**/*.{imba,js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
environment: "jsdom",
setupFiles: ["./test/setup.imba"],
reporters: process.env.GITHUB_ACTIONS
? new GithubActionsReporter()
: 'default'
},
});