vendredi 2 août 2019

Ember.js: How can I test Express server mock?

I have a simple express server running in my Ember app for development purpose. I created it with the command ember g http-mock.

So in my app I have this directory:

my-app
  server
    mocks
      posts.js

How can I make a unit test that runs posts.js mock?.

Aucun commentaire:

Enregistrer un commentaire