Comparing version 1.0.3 to 1.1.0
@@ -24,2 +24,6 @@ 'use strict'; | ||
var _Timeline = require('most/lib/scheduler/Timeline'); | ||
var _Timeline2 = _interopRequireDefault(_Timeline); | ||
var _virtualTimer = require('./virtual-timer'); | ||
@@ -176,5 +180,5 @@ | ||
var observer = new _observer2.default(sink.event.bind(sink), sink.end.bind(sink), sink.error.bind(sink), disposable); | ||
var scheduler = new _Scheduler2.default(timer); | ||
var scheduler = new _Scheduler2.default(timer, new _Timeline2.default()); | ||
disposable.setDisposable(source.run(observer, scheduler)); | ||
return testEnv; | ||
} |
{ | ||
"name": "most-test", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Unit testing tools for Most.js", | ||
"typings": "type-definitions/most-test.d.ts", | ||
"main": "lib/index.js", | ||
@@ -6,0 +7,0 @@ "scripts": { |
import Observer from './observer'; | ||
import SettableDisposable from 'most/lib/disposable/SettableDisposable'; | ||
import Scheduler from 'most/lib/scheduler/Scheduler'; | ||
import Timeline from 'most/lib/scheduler/Timeline'; | ||
import VirtualTimer from './virtual-timer'; | ||
@@ -122,5 +123,5 @@ | ||
disposable); | ||
const scheduler = new Scheduler(timer); | ||
const scheduler = new Scheduler(timer, new Timeline()); | ||
disposable.setDisposable(source.run(observer, scheduler)); | ||
return testEnv; | ||
} |
@@ -1,2 +0,2 @@ | ||
import most from 'most'; | ||
import * as most from 'most'; | ||
import {run} from '../src'; | ||
@@ -3,0 +3,0 @@ import assert from 'assert'; |
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
24461
18
620