chore: fix typo in codebase (#11846)
This commit is contained in:
@@ -16,6 +16,6 @@ const obj = new Obj();
|
||||
expect(() => {
|
||||
obj.call();
|
||||
|
||||
// Asser that this throws, but that it's not
|
||||
// Assert that this throws, but that it's not
|
||||
// Obj.p.test's error that is thrown
|
||||
}).toThrowError(TypeError)
|
||||
|
||||
@@ -16,6 +16,6 @@ const obj = new Obj();
|
||||
expect(() => {
|
||||
obj.call();
|
||||
|
||||
// Asser that this throws, but that it's not
|
||||
// Assert that this throws, but that it's not
|
||||
// Obj.p.test's error that is thrown
|
||||
}).toThrowError(TypeError)
|
||||
|
||||
@@ -56,6 +56,6 @@ let Obj = /*#__PURE__*/function (_Base) {
|
||||
|
||||
const obj = new Obj();
|
||||
expect(() => {
|
||||
obj.call(); // Asser that this throws, but that it's not
|
||||
obj.call(); // Assert that this throws, but that it's not
|
||||
// Obj.p.test's error that is thrown
|
||||
}).toThrowError(TypeError);
|
||||
|
||||
@@ -19,6 +19,6 @@ const obj = new Obj();
|
||||
expect(() => {
|
||||
obj.call();
|
||||
|
||||
// Asser that this throws, but that it's not
|
||||
// Assert that this throws, but that it's not
|
||||
// a gobbledygook error that is thrown
|
||||
}).toThrowError(TypeError)
|
||||
|
||||
Reference in New Issue
Block a user