Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -11,14 +11,14 @@ var _ExpectationFailed = _interopRequireDefault(
require('../ExpectationFailed')
);
var _expectationResultFactory = _interopRequireDefault(
require('../expectationResultFactory')
);
var _assertionErrorMessage = _interopRequireDefault(
require('../assertionErrorMessage')
);
var _expectationResultFactory = _interopRequireDefault(
require('../expectationResultFactory')
);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}
@@ -81,7 +81,7 @@ class Spec {
_defineProperty(this, 'expand', void 0);
this.resultCallback = attrs.resultCallback || function() {};
this.resultCallback = attrs.resultCallback || function () {};
this.id = attrs.id;
this.description = attrs.description || '';
@@ -89,7 +89,7 @@ class Spec {
this.beforeAndAfterFns =
attrs.beforeAndAfterFns ||
function() {
function () {
return {
befores: [],
afters: []
@@ -98,19 +98,19 @@ class Spec {
this.userContext =
attrs.userContext ||
function() {
function () {
return {};
};
this.onStart = attrs.onStart || function() {};
this.onStart = attrs.onStart || function () {};
this.getSpecName =
attrs.getSpecName ||
function() {
function () {
return '';
};
this.queueRunnerFactory = attrs.queueRunnerFactory || function() {};
this.queueRunnerFactory = attrs.queueRunnerFactory || function () {};
this.throwOnExpectationFailure = !!attrs.throwOnExpectationFailure;
this.initError = new Error();
@@ -120,7 +120,7 @@ class Spec {
// https://crbug.com/v8/7142
this.initError.stack = this.initError.stack;
this.queueableFn.initError = this.initError; // @ts-ignore
this.queueableFn.initError = this.initError; // @ts-expect-error
this.result = {
id: this.id,
@@ -170,7 +170,7 @@ class Spec {
queueableFns: allFns,
onException() {
// @ts-ignore
// @ts-expect-error
self.onException.apply(self, arguments);
},
@@ -287,7 +287,7 @@ _defineProperty(Spec, 'pendingSpecExceptionMessage', void 0);
Spec.pendingSpecExceptionMessage = '=> marked Pending';
const extractCustomPendingMessage = function extractCustomPendingMessage(e) {
const extractCustomPendingMessage = function (e) {
const fullMessage = e.toString();
const boilerplateStart = fullMessage.indexOf(
Spec.pendingSpecExceptionMessage