[PR #180] [MERGED] Ported tests to TypeScript, added ESM test project #152

Closed
opened 2026-05-23 08:32:01 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase/pull/180
Author: @appy-one
Created: 11/21/2022
Status: Merged
Merged: 11/21/2022
Merged by: @appy-one

Base: masterHead: improvement/typescript-cjs-esm-tests


📝 Commits (10+)

  • c1f8596 Ported tests to TypeScript, moved into src
  • f1d2422 Use CommonJS dist for default testing
  • 92b32b3 added TEST.md
  • 7108f8a new ESM test package
  • 09c25f0 fix AsyncTaskBatch constructor and JSDoc
  • 89a7199 add ESM test script
  • 211e2cc fix path, now expects running from repository root
  • 8e0ab62 allow import(json), skip .d.ts lib checks
  • 0e6bfe6 use latest acebase-core commit
  • e473fe7 chore: build

📊 Changes

218 files changed (+10904 additions, -872 deletions)

View changed files

📝 dist/browser.js (+1 -1)
📝 dist/cjs/async-task-batch.js (+1 -1)
📝 dist/cjs/async-task-batch.js.map (+1 -1)
dist/cjs/async-task-batch.spec.js (+21 -0)
dist/cjs/async-task-batch.spec.js.map (+1 -0)
dist/cjs/binary.spec.js (+84 -0)
dist/cjs/binary.spec.js.map (+1 -0)
dist/cjs/btree/binary-tree.spec.js (+310 -0)
dist/cjs/btree/binary-tree.spec.js.map (+1 -0)
dist/cjs/btree/tree.spec.js (+90 -0)
dist/cjs/btree/tree.spec.js.map (+1 -0)
dist/cjs/geohash.spec.js (+18 -0)
dist/cjs/geohash.spec.js.map (+1 -0)
dist/cjs/node-transaction.spec.js (+140 -0)
dist/cjs/node-transaction.spec.js.map (+1 -0)
dist/cjs/quicksort.spec.js (+81 -0)
dist/cjs/quicksort.spec.js.map (+1 -0)
dist/cjs/test/arrays.spec.js (+104 -0)
dist/cjs/test/arrays.spec.js.map (+1 -0)
dist/cjs/test/bulk-import.spec.js (+61 -0)

...and 80 more files

📄 Description

The entire codebase has now been ported to TypeScript! 🚀🥳


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase/pull/180 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 11/21/2022 **Status:** ✅ Merged **Merged:** 11/21/2022 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `improvement/typescript-cjs-esm-tests` --- ### 📝 Commits (10+) - [`c1f8596`](https://github.com/appy-one/acebase/commit/c1f85969cc183f86180de62266cbc47e2f184c6a) Ported tests to TypeScript, moved into src - [`f1d2422`](https://github.com/appy-one/acebase/commit/f1d2422353411fe89650e7f8dbaf3d64fc4c7ddb) Use CommonJS dist for default testing - [`92b32b3`](https://github.com/appy-one/acebase/commit/92b32b31dd587d3859d76a825393ed4d2f4c3833) added TEST.md - [`7108f8a`](https://github.com/appy-one/acebase/commit/7108f8adb4441dac31ad5a1eec6824682bab1e6e) new ESM test package - [`09c25f0`](https://github.com/appy-one/acebase/commit/09c25f00d5c2125a87be7e1065a67acaf7977179) fix AsyncTaskBatch constructor and JSDoc - [`89a7199`](https://github.com/appy-one/acebase/commit/89a7199b15eface9bec70434bd60438a32e5b9e9) add ESM test script - [`211e2cc`](https://github.com/appy-one/acebase/commit/211e2cc677b067782fad73c247ad957a39451217) fix path, now expects running from repository root - [`8e0ab62`](https://github.com/appy-one/acebase/commit/8e0ab62d8e904f2debf003d68de7cf17ea24c16b) allow import(json), skip .d.ts lib checks - [`0e6bfe6`](https://github.com/appy-one/acebase/commit/0e6bfe65e26dac47c354e44d4f2f3f78b6c7e0c4) use latest acebase-core commit - [`e473fe7`](https://github.com/appy-one/acebase/commit/e473fe787a1ce9063165418b9c37075d99ac67c6) chore: build ### 📊 Changes **218 files changed** (+10904 additions, -872 deletions) <details> <summary>View changed files</summary> 📝 `dist/browser.js` (+1 -1) 📝 `dist/cjs/async-task-batch.js` (+1 -1) 📝 `dist/cjs/async-task-batch.js.map` (+1 -1) ➕ `dist/cjs/async-task-batch.spec.js` (+21 -0) ➕ `dist/cjs/async-task-batch.spec.js.map` (+1 -0) ➕ `dist/cjs/binary.spec.js` (+84 -0) ➕ `dist/cjs/binary.spec.js.map` (+1 -0) ➕ `dist/cjs/btree/binary-tree.spec.js` (+310 -0) ➕ `dist/cjs/btree/binary-tree.spec.js.map` (+1 -0) ➕ `dist/cjs/btree/tree.spec.js` (+90 -0) ➕ `dist/cjs/btree/tree.spec.js.map` (+1 -0) ➕ `dist/cjs/geohash.spec.js` (+18 -0) ➕ `dist/cjs/geohash.spec.js.map` (+1 -0) ➕ `dist/cjs/node-transaction.spec.js` (+140 -0) ➕ `dist/cjs/node-transaction.spec.js.map` (+1 -0) ➕ `dist/cjs/quicksort.spec.js` (+81 -0) ➕ `dist/cjs/quicksort.spec.js.map` (+1 -0) ➕ `dist/cjs/test/arrays.spec.js` (+104 -0) ➕ `dist/cjs/test/arrays.spec.js.map` (+1 -0) ➕ `dist/cjs/test/bulk-import.spec.js` (+61 -0) _...and 80 more files_ </details> ### 📄 Description The entire codebase has now been ported to TypeScript! 🚀🥳 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:32:01 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#152
No description provided.