feat: build CoffeeChat mini program and backend
CI / test (push) Has been cancelled

This commit is contained in:
2026-09-21 03:38:09 +08:00
commit 5a156b2d87
101 changed files with 3752 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import test from 'node:test';
import assert from 'node:assert/strict';
import { loadConfig } from '../src/config.js';
test('production rejects missing secrets', () => assert.throws(() => loadConfig({ NODE_ENV: 'production' }), /Missing environment variables/));
test('development permits local defaults', () => assert.equal(loadConfig({ NODE_ENV: 'development' }).allowDevLogin, true));