Skip to content

Set up a test framework #124

@elliottsj

Description

@elliottsj

See #121 (comment)

Right now we're just running rnws bundle for the example projects on Travis, but we should have tests for:

  • getReactNativeExternals.js: make sure it returns the expected modules
  • Launch rnws start (with various combinations of options), fetch each bundle and map file and assert that they match their expected value.
  • Run rnws bundle (with various combinations of options) and assert that the correct bundles are written to their expected file path.

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