Skip to content

Instantly share code, notes, and snippets.

@goldbergyoni
Last active October 31, 2019 16:00
Show Gist options
  • Select an option

  • Save goldbergyoni/1e11998b9247584e3cd33e6656a71f92 to your computer and use it in GitHub Desktop.

Select an option

Save goldbergyoni/1e11998b9247584e3cd33e6656a71f92 to your computer and use it in GitHub Desktop.
API setup for component tests
//open API connection
expressApp = express();
expressConnection = expressApp.listen(() => { //no port specified
apiUnderTest(expressApp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment