mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix a composer state leak in tests
This is the one that made discourse-encrypt tests (and all subsequent tests) hang.
This commit is contained in:
@@ -16,6 +16,9 @@ acceptance("Composer Actions", {
|
|||||||
},
|
},
|
||||||
beforeEach() {
|
beforeEach() {
|
||||||
_clearSnapshots();
|
_clearSnapshots();
|
||||||
|
},
|
||||||
|
afterEach() {
|
||||||
|
_clearSnapshots();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -386,6 +389,9 @@ acceptance("Composer Actions With New Topic Draft", {
|
|||||||
},
|
},
|
||||||
beforeEach() {
|
beforeEach() {
|
||||||
_clearSnapshots();
|
_clearSnapshots();
|
||||||
|
},
|
||||||
|
afterEach() {
|
||||||
|
_clearSnapshots();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user