Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

How to clear Service Data after test

$
0
0

I have been working on a project where we use a service which stores the context data of a modal. The test works fine when only a single test is run (by filtering). But if more than one test runs then some of them may fail. I don’t understand why that happens. Maybe the service might be storing the data. The data may not be cleared from the service after each test finishes.

How to clear the service data?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles