Skip to content

Conversation

@grypez
Copy link
Contributor

@grypez grypez commented Jan 14, 2025

This PR provides unit test coverage for the src files of the @ocap/nodejs package, with the following exceptions:

  • The file @ocap/nodejs/src/kernel/sqlite-kv-store.ts is uncovered, in accordance @ocap/extension/src/kernel-integration/sqlite-kv-store.ts. The unit-testing coverage for these KVStore implementations should likely factor through a common abstraction.
  • @ocap/nodejs/src/vat/vat-worker.ts is not unit-tested, but is expressed in the associated e2e tests.

The PR also reenables the e2e tests for the @ocap/nodejs package and improves the e2e test coverage.

@rekmarks rekmarks changed the base branch from main to grypez/nodejs-pkg January 14, 2025 18:12
@grypez grypez force-pushed the grypez/nodejs-unit-tests branch from 5fe311e to 8e4c53e Compare January 14, 2025 20:21
@rekmarks rekmarks linked an issue Jan 15, 2025 that may be closed by this pull request
4 tasks
@grypez grypez force-pushed the grypez/nodejs-pkg branch from e8420d9 to 47a81e9 Compare January 15, 2025 17:39
Base automatically changed from grypez/nodejs-pkg to main January 16, 2025 15:01
@grypez grypez force-pushed the grypez/nodejs-unit-tests branch from 8e4c53e to 3698f69 Compare January 16, 2025 17:44
@grypez grypez force-pushed the grypez/nodejs-unit-tests branch from 3698f69 to 9f034bb Compare January 21, 2025 21:26
@grypez grypez force-pushed the grypez/nodejs-unit-tests branch from 9eed395 to 73dc899 Compare January 24, 2025 21:19
@grypez grypez force-pushed the grypez/nodejs-unit-tests branch 11 times, most recently from 06f0b90 to ca0e73a Compare January 27, 2025 18:30
@grypez grypez force-pushed the grypez/nodejs-unit-tests branch from ca0e73a to d760a69 Compare January 27, 2025 18:58
@grypez grypez marked this pull request as ready for review January 27, 2025 20:15
@grypez grypez requested a review from a team as a code owner January 27, 2025 20:15
Copy link
Contributor

@sirtimid sirtimid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@grypez grypez merged commit 32bee6b into main Jan 28, 2025
17 checks passed
@grypez grypez deleted the grypez/nodejs-unit-tests branch January 28, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Node.js implementation of the kernel

4 participants