mardi 18 octobre 2016

Global beforeEach/afterEach for ember qunit tests

My app stores some information about the current session in localStorage. Therefore I need my tests to clear localStorage before or after each single test throughout all test files. Is there a way to define a beforeEach or afterEach callback globally instead of on each test file?




Aucun commentaire:

Enregistrer un commentaire