Skip to content

Commit

Permalink
fix test/unit/hook.spec.js
Browse files Browse the repository at this point in the history
`Function.prototype.name` is not available in IE11, and will cause the browser tests to fail.
  • Loading branch information
boneskull committed May 13, 2020
1 parent 184036f commit 5277a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/hook.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var Mocha = require('../../lib/mocha');
var Hook = Mocha.Hook;
var Runnable = Mocha.Runnable;

describe(Hook.name, function() {
describe('Hook', function() {
var hook;

beforeEach(function() {
Expand Down

0 comments on commit 5277a9f

Please sign in to comment.