vendure-config.ts 502 B

12345678910111213141516171819202122
  1. import { VendureConfig } from '@vendure/core';
  2. export const testConfig: VendureConfig = {
  3. apiOptions: {
  4. port: 3000,
  5. adminApiPath: 'admin-api',
  6. shopApiPath: 'shop-api',
  7. },
  8. dbConnectionOptions: {
  9. type: 'sqlite',
  10. database: ':memory:',
  11. synchronize: false,
  12. migrations: ['migrations/*.ts'],
  13. },
  14. authOptions: {
  15. tokenMethod: 'bearer',
  16. },
  17. paymentOptions: {
  18. paymentMethodHandlers: [],
  19. },
  20. plugins: [],
  21. };