mirror of
https://github.com/immich-app/services.git
synced 2026-09-30 13:23:10 +08:00
19 lines
499 B
TypeScript
19 lines
499 B
TypeScript
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';
|
|
|
|
export default defineWorkersConfig({
|
|
test: {
|
|
include: ['src/integration.test.ts'],
|
|
poolOptions: {
|
|
workers: {
|
|
wrangler: { configPath: './wrangler.toml' },
|
|
miniflare: {
|
|
bindings: {
|
|
CLOUDFLARE_API_TOKEN: process.env.CLOUDFLARE_API_TOKEN ?? '',
|
|
CLOUDFLARE_ACCOUNT_ID: process.env.CLOUDFLARE_ACCOUNT_ID ?? '',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|