Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: basic test that uses IPC #945

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test: basic test that uses IPC #945

wants to merge 1 commit into from

Conversation

EvanHahn
Copy link
Contributor

CoMapeo Mobile doesn't use MapeoManager directly; it uses an IPC bridge.

This adds a test that creates a manager in a separate process and uses @comapeo/ipc to test it.

This is something we've been discussing for awhile, and this finally implements it. I think this is useful on its own but also makes a future change easier.

@awana-lockfile-bot
Copy link

package-lock.json changes

Click to toggle table visibility
Name Status Previous Current
@comapeo/core ADDED - 2.0.1
@comapeo/ipc ADDED - 2.0.2
@msgpack/msgpack ADDED - 1.12.2
@sinclair/typebox UPDATED 0.29.6 0.33.17
const-max-uint32 ADDED - 1.0.2
duplexify ADDED - 4.1.3
length-prefixed-stream ADDED - 2.0.0
rpc-reflector ADDED - 1.3.11
serialize-error ADDED - 8.1.0
stream-shift ADDED - 1.0.3
through2 ADDED - 4.0.2
validate.io-array-like ADDED - 1.0.2
validate.io-integer-primitive ADDED - 1.0.0
validate.io-number-primitive ADDED - 1.0.0

@EvanHahn EvanHahn marked this pull request as draft October 29, 2024 20:27
CoMapeo Mobile doesn't use `MapeoManager` directly; it uses an IPC
bridge.

This adds a test that creates a manager in a separate process and uses
`@comapeo/ipc` to test it.

This is something we've been discussing for awhile, and this finally
implements it. I think this is useful on its own but also makes a
future change easier.
@EvanHahn EvanHahn marked this pull request as ready for review October 29, 2024 20:35
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.

1 participant