@korajs/server 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/index.cjs +1459 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +302 -9
- package/dist/index.d.ts +302 -9
- package/dist/index.js +1286 -39
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/dist/server-backup-MOICK6MI.js +116 -0
- package/dist/server-backup-MOICK6MI.js.map +1 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -97,6 +97,16 @@ createKoraServer({
|
|
|
97
97
|
})
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
+
## Testing
|
|
101
|
+
|
|
102
|
+
Integration tests include **store parity** coverage for `MemoryServerStore` and `SqliteServerStore`. To run the same parity suite against a live PostgreSQL database:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
DATABASE_URL="postgres://user:pass@localhost:5432/kora_test" pnpm --filter @korajs/server test -- tests/integration/server-store-parity.test.ts
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Postgres tests are skipped when `DATABASE_URL` is unset.
|
|
109
|
+
|
|
100
110
|
## License
|
|
101
111
|
|
|
102
112
|
MIT
|