Skip to content

Testing outside of browser #692

@richburdon

Description

@richburdon

Is there a way to test gun outside of the browser (e.g., I'd like to build some simple unit tests for my app).

Currently I get:

    TypeError: rad is not a function
      at ../../node_modules/gun/lib/store.js:20:4

And assume that the store is attempting to use the browsers local storage?

Related to this: is it possible to write server side peers that use the same API. Ideally I'd like to create a stateless (ephemeral) lambda function that could get the current state and mutate it (i.e., not have a live socket connection). Is this in scope?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions