@@ -4,7 +4,7 @@ getJasmineRequireObj().Expectation = function(j$) {
|
||||
* @namespace matchers
|
||||
*/
|
||||
function Expectation(options) {
|
||||
this.expector = new j$.Expector(options);
|
||||
this.expector = new j$.private.Expector(options);
|
||||
|
||||
const customMatchers = options.customMatchers || {};
|
||||
for (const matcherName in customMatchers) {
|
||||
@@ -80,7 +80,7 @@ getJasmineRequireObj().Expectation = function(j$) {
|
||||
* @namespace async-matchers
|
||||
*/
|
||||
function AsyncExpectation(options) {
|
||||
this.expector = new j$.Expector(options);
|
||||
this.expector = new j$.private.Expector(options);
|
||||
|
||||
const customAsyncMatchers = options.customAsyncMatchers || {};
|
||||
for (const matcherName in customAsyncMatchers) {
|
||||
@@ -173,7 +173,7 @@ getJasmineRequireObj().Expectation = function(j$) {
|
||||
|
||||
function negatedFailureMessage(result, matcherName, args, matchersUtil) {
|
||||
if (result.message) {
|
||||
if (j$.isFunction_(result.message)) {
|
||||
if (j$.private.isFunction(result.message)) {
|
||||
return result.message();
|
||||
} else {
|
||||
return result.message;
|
||||
@@ -218,7 +218,7 @@ getJasmineRequireObj().Expectation = function(j$) {
|
||||
return function(actual) {
|
||||
const matcherArgs = arguments;
|
||||
|
||||
return j$.isPending_(actual).then(function(isPending) {
|
||||
return j$.private.isPending(actual).then(function(isPending) {
|
||||
if (isPending) {
|
||||
return {
|
||||
pass: false,
|
||||
|
||||
Reference in New Issue
Block a user