Skip to content

Commit

Permalink
chore(test): update global hint
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj authored and benlesh committed Oct 27, 2015
1 parent 6d33180 commit 40e9757
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion spec/observables/zip-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, expectObservable, hot, cold */
/* globals describe, it, expect, Symbol, expectObservable, hot */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/buffer-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, expectObservable, expectSubscriptions, hot */
/* globals describe, it, expect, hot, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/bufferCount-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, expectObservable, hot */
/* globals describe, it, expect, hot, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/bufferTime-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, hot, cold, rxTestScheduler, expectObservable */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions, rxTestScheduler */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/bufferToggle-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/bufferWhen-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, hot, cold, expectObservable */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
6 changes: 3 additions & 3 deletions spec/operators/finally-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Observable.prototype.finally()', function () {
it('should call finally after complete', function (done) {
var completed = false;
Observable.of(1, 2, 3)
.finally(function (x) {
.finally(function () {
expect(completed).toBe(true);
done();
})
Expand All @@ -24,7 +24,7 @@ describe('Observable.prototype.finally()', function () {
}
return x;
})
.finally(function (x) {
.finally(function () {
expect(thrown).toBe(true);
done();
})
Expand All @@ -37,7 +37,7 @@ describe('Observable.prototype.finally()', function () {
var disposed = false;
var subscription = Observable
.timer(100)
.finally(function (x) {
.finally(function () {
expect(disposed).toBe(true);
done();
}).subscribe();
Expand Down
2 changes: 1 addition & 1 deletion spec/operators/groupBy-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable */
var Rx = require('../../dist/cjs/Rx.KitchenSink');
var Observable = Rx.Observable;
var GroupedObservable = require('../../dist/cjs/operators/groupBy-support').GroupedObservable;
Expand Down
2 changes: 1 addition & 1 deletion spec/operators/map-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
5 changes: 4 additions & 1 deletion spec/operators/map-to-spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

// function shortcuts
var throwError = function () { throw new Error(); };

describe('Observable.prototype.mapTo()', function () {
it('should map one value', function () {
var a = cold('--7--|');
Expand Down
2 changes: 1 addition & 1 deletion spec/operators/merge-map-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals expectObservable, cold, hot, describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;
var Promise = require('promise');
Expand Down
2 changes: 1 addition & 1 deletion spec/operators/retry-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/retryWhen-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/switch-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* expect, it, describe, expectObserable, hot, cold */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Promise = require('promise');

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/switchMap-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;
var immediateScheduler = Rx.Scheduler.immediate;
Expand Down
2 changes: 1 addition & 1 deletion spec/operators/window-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, expectObservable, hot, rxTestScheduler */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions, rxTestScheduler */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/windowCount-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, expectObservable, hot */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/windowTime-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect, hot, expectObservable, rxTestScheduler */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions, rxTestScheduler */
var Rx = require('../../dist/cjs/Rx.KitchenSink');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/operators/windowToggle-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */
var Rx = require('../../dist/cjs/Rx.KitchenSink');
var Observable = Rx.Observable;

Expand Down
2 changes: 1 addition & 1 deletion spec/schedulers/TestScheduler-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals describe, it, expect */
/* globals describe, it, expect, expectObservable */
var Rx = require('../../dist/cjs/Rx.KitchenSink');
var TestScheduler = Rx.TestScheduler;
var Notification = Rx.Notification;
Expand Down

0 comments on commit 40e9757

Please sign in to comment.