test-config.ts 532 B

1234567891011121314151617181920212223
  1. import { API_PATH } from 'shared/shared-constants';
  2. import { VendureConfig } from '../../src/config/vendure-config';
  3. export const TEST_CONNECTION_NAME = undefined;
  4. /**
  5. * Config settings used for e2e tests
  6. */
  7. export const testConfig: VendureConfig = {
  8. port: 3050,
  9. apiPath: API_PATH,
  10. cors: true,
  11. jwtSecret: 'some-secret',
  12. dbConnectionOptions: {
  13. type: 'sqljs',
  14. database: new Uint8Array([]),
  15. location: '',
  16. autoSave: false,
  17. logging: false,
  18. },
  19. customFields: {},
  20. };