734382b5b3
* Moving to vitest * Rearranging test * Fixing prettier linting * Reverting launch.json * Adjustments * Merged with main and regenerated lockfile * Fixing tests for API * Yarn updated, docs is gone --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: Alex van Andel <me@alexvanandel.com>
19 lines
481 B
TypeScript
19 lines
481 B
TypeScript
import { defineWorkspace } from "vitest/config";
|
|
|
|
// defineWorkspace provides a nice type hinting DX
|
|
export default defineWorkspace([
|
|
{
|
|
test: {
|
|
include: ["packages/**/*.{test,spec}.{ts,js}", "apps/**/*.{test,spec}.{ts,js}"],
|
|
},
|
|
},
|
|
{
|
|
test: {
|
|
name: "@calcom/closecom",
|
|
include: ["packages/app-store/closecom/**/*.{test,spec}.{ts,js}"],
|
|
environment: "jsdom",
|
|
setupFiles: ["packages/app-store/closecom/test/globals.ts"],
|
|
},
|
|
},
|
|
]);
|