jasmine-marbles
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -460,6 +460,6 @@ (function (global, factory) { | ||
const expected = rxjs_testing.TestScheduler.parseMarbles(fixture.marbles, fixture.values, fixture.error, true, true); | ||
if (utils.equals(results, expected)) { | ||
if (lodash.isEqual(results, expected)) { | ||
return { pass: true }; | ||
} | ||
const mapNotificationToSymbol = buildNotificationToSymbolMapper(fixture.marbles, expected, utils.equals); | ||
const mapNotificationToSymbol = buildNotificationToSymbolMapper(fixture.marbles, expected, lodash.isEqual); | ||
const receivedMarble = unparseMarble(results, mapNotificationToSymbol); | ||
@@ -466,0 +466,0 @@ const message = formatMessage(fixture.marbles, expected, receivedMarble, results); |
import { Notification, Observable } from 'rxjs'; | ||
import { TestScheduler } from 'rxjs/testing'; | ||
import { isEqual } from 'lodash'; | ||
import { getTestScheduler, initTestScheduler, resetTestScheduler, } from './src/scheduler'; | ||
@@ -83,6 +84,6 @@ import { TestColdObservable, TestHotObservable, } from './src/test-observables'; | ||
const expected = TestScheduler.parseMarbles(fixture.marbles, fixture.values, fixture.error, true, true); | ||
if (utils.equals(results, expected)) { | ||
if (isEqual(results, expected)) { | ||
return { pass: true }; | ||
} | ||
const mapNotificationToSymbol = buildNotificationToSymbolMapper(fixture.marbles, expected, utils.equals); | ||
const mapNotificationToSymbol = buildNotificationToSymbolMapper(fixture.marbles, expected, isEqual); | ||
const receivedMarble = unparseMarble(results, mapNotificationToSymbol); | ||
@@ -89,0 +90,0 @@ const message = formatMessage(fixture.marbles, expected, receivedMarble, results); |
@@ -6,2 +6,3 @@ "use strict"; | ||
var testing_1 = require("rxjs/testing"); | ||
var lodash_1 = require("lodash"); | ||
var scheduler_1 = require("./src/scheduler"); | ||
@@ -95,6 +96,6 @@ var test_observables_1 = require("./src/test-observables"); | ||
var expected = testing_1.TestScheduler.parseMarbles(fixture.marbles, fixture.values, fixture.error, true, true); | ||
if (utils.equals(results, expected)) { | ||
if (lodash_1.isEqual(results, expected)) { | ||
return { pass: true }; | ||
} | ||
var mapNotificationToSymbol = buildNotificationToSymbolMapper(fixture.marbles, expected, utils.equals); | ||
var mapNotificationToSymbol = buildNotificationToSymbolMapper(fixture.marbles, expected, lodash_1.isEqual); | ||
var receivedMarble = marble_unparser_1.unparseMarble(results, mapNotificationToSymbol); | ||
@@ -101,0 +102,0 @@ var message = formatMessage(fixture.marbles, expected, receivedMarble, results); |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"module": "index.js", | ||
@@ -13,0 +13,0 @@ "es2015": "es6/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168572
1935