We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d603f commit 5591263Copy full SHA for 5591263
test/fileAddSpec.js
@@ -118,6 +118,18 @@ describe('fileAdd event', function() {
118
expect(customFunction).toHaveBeenCalledTimes(3);
119
});
120
121
+ it('should validate catch-all emitting after hooks', async function() {
122
+ let valid = false;
123
+ flow.on('catch-all', () => {
124
+ valid = true;
125
+ });
126
+ flow.on('files-submitted', () => {
127
+ valid = false;
128
129
+ await flow.addFile(new Blob(['file part']));
130
+ expect(valid).toBeTruthy();
131
132
+
133
describe('async/sync hooks', function () {
134
beforeAll(function() {
135
jasmine.getEnv().addReporter({
0 commit comments