Skip to content

Commit 53eb8a4

Browse files
authored
Update error_helpers.js
1 parent 9ee3b48 commit 53eb8a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/core/error_helpers.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ suite('Error Helpers', function() {
237237

238238
suite('validateParameters: argument tree', function() {
239239
// should not throw a validation error for the same kind of wrong args
240-
// more than once. This prevents repetetive validation logs for a
240+
// more than once. This prevents repetitive validation logs for a
241241
// function that is called in a loop or draw()
242242
testUnMinified(
243243
'no repeated validation error for the same wrong arguments',
@@ -440,7 +440,7 @@ suite('Error Helpers', function() {
440440
}
441441
);
442442

443-
testUnMinified('detects spelling + captialization mistakes', function() {
443+
testUnMinified('detects spelling + capitalization mistakes', function() {
444444
const logMsg = help(new ReferenceError('RandomGossian is not defined'));
445445
assert.match(
446446
logMsg,
@@ -566,7 +566,7 @@ suite('Global Error Handling', function() {
566566
return iframe;
567567
};
568568

569-
testUnMinified('identifies errors happenning internally', function() {
569+
testUnMinified('identifies errors happening internally', function() {
570570
return new Promise(function(resolve) {
571571
// quite an unusual way to test, but the error listener doesn't work
572572
// under mocha. Also the stacktrace gets filled with mocha internal
@@ -590,7 +590,7 @@ suite('Global Error Handling', function() {
590590
});
591591

592592
testUnMinified(
593-
'identifies errors happenning internally in ES6 classes',
593+
'identifies errors happening internally in ES6 classes',
594594
function() {
595595
return new Promise(function(resolve) {
596596
prepSyntaxTest(

0 commit comments

Comments
 (0)