Skip to content

Commit

Permalink
Merge pull request #12 from brannislav/master
Browse files Browse the repository at this point in the history
afterAll() function should be called only for one of the executors in which the spec is executed.
  • Loading branch information
joeljeske authored Mar 19, 2018
2 parents 0483d5b + 745582f commit a052ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/karma-parallelizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ function createFakeTestContext(ctx, shouldUseDescription) {
ctx.before = wrap(ctx.before, false, false, false);
ctx.beforeAll = wrap(ctx.beforeAll, false, false, false);
ctx.beforeEach = wrap(ctx.beforeEach, false, false, false);
ctx.beforeAll = wrap(ctx.beforeAll, false, false, false);
ctx.after = wrap(ctx.after, false, false, false);
ctx.afterAll = wrap(ctx.afterAll, false, false, false);
ctx.afterEach = wrap(ctx.afterEach, false, false, false);

return {
Expand Down

0 comments on commit a052ed9

Please sign in to comment.