summaryrefslogtreecommitdiff
path: root/tests/js (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* src/utils.mjs: Replace promisify() by util.promisify()EuAndreh2024-02-281-33/+0
|
* src/utils.mjs: Add undefinedAsNull()EuAndreh2024-02-281-0/+20
|
* src/utils.mjs: Define strSortFn() and use it on all filesEuAndreh2024-02-282-1/+20
|
* src/hero.mjs: Promote log() to fancy logger objectEuAndreh2024-02-252-12/+209
|
* Explicit import from "node:process"; move log() to hero.mjsEuAndreh2024-02-254-24/+35
|
* Normalize how modules import and name each otherEuAndreh2024-02-247-36/+39
| | | | | Also add a `defaultInterceptors` variable in `src/hero.mjs` to avoid needing to redefine it in every application.
* src/hero.mjs: Add buildServer()EuAndreh2024-02-233-129/+283
|
* Implement accretion.runMigrations() and wrappings of node-sqlite3EuAndreh2024-02-233-3/+203
|
* Big cleanupEuAndreh2024-02-2310-160/+1366
| | | | | | - delete all SQLite Node-API code: we'll use the C++ one instead; - implement hero.mjs, with tests! - use ESM all over.
* tests/js/db.js: Disable test for incomplete codeEuAndreh2023-11-271-1/+1
|
* tests/runner.js: Replace hand-rolled assert with "node:assert" moduleEuAndreh2023-11-161-45/+45
|
* Add WIP non-async functions to napi-sqlite.cEuAndreh2023-11-161-0/+16
|
* src/{ircd,web}.js: Init stub serversEuAndreh2023-11-112-0/+14
|
* tests/js/: Run the files directlyEuAndreh2023-11-101-2/+5
| | | | | Instead of dynamically `import()`ing them in `tests/runner.js`, make each test file instead load `tests/runner.js` and run its own tests.
* tests/js/utils.js: Remove test on "new Date()" objectsEuAndreh2023-11-101-8/+0
|
* tests/js/server/web.js: Remove unused fileEuAndreh2023-11-101-12/+0
|
* tests/js/compat.js: Remove unused fileEuAndreh2023-11-101-17/+0
|
* Initial project structureEuAndreh2023-11-093-0/+164