empty stubs array before next test runs

This commit is contained in:
Fabio Berger 2017-05-29 16:10:34 +02:00
parent 9008dfdcb1
commit 1958142936

View File

@ -165,6 +165,7 @@ describe('ZeroEx library', () => {
afterEach(() => {
// clean up any stubs after the test has completed
_.each(stubs, s => s.restore());
stubs = [];
});
it ('Should return the correct ECSignature on TestPRC nodeVersion', async () => {
const orderHash = '0x6927e990021d23b1eb7b8789f6a6feaf98fe104bb0cf8259421b79f9a34222b0';