feat: implement third-party order sync

This commit is contained in:
2026-06-07 02:05:48 +08:00
commit aa593449bb
398 changed files with 51460 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { validateEnv } from './env';
describe('validateEnv', () => {
it('accepts the minimum backend environment', () => {
const env = validateEnv({
DATABASE_URL: 'mysql://root:123456@127.0.0.1:3306/work_admin',
AUTH_SECRET: 'replace-with-a-long-random-secret',
});
expect(env.PORT).toBe(3001);
expect(env.DATABASE_URL).toContain('work_admin');
});
});