Bump dependencies (#788)
* Bump dependencies * Remove signing length check
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.3.4",
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/api": "^0.48.1",
|
||||
"@polkadot/types": "^0.48.1",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
|
||||
@@ -18,13 +18,13 @@ describe('drr', () => {
|
||||
});
|
||||
|
||||
it('should be a ReplaySubject(1)', (done) => {
|
||||
const obs = timer(0, 200).pipe(drr()); // Starts at 0, increments every 200ms
|
||||
const obs = timer(0, 100).pipe(drr()); // Starts at 0, increments every 100ms
|
||||
obs.subscribe(); // Fire the observable
|
||||
|
||||
// Subscribe another time after some time, i.e. after the observable has fired
|
||||
setTimeout(() => {
|
||||
obs.subscribe((value) => {
|
||||
expect(value).toBe(2);
|
||||
expect(value > 1).toBe(true);
|
||||
done();
|
||||
});
|
||||
}, 500);
|
||||
|
||||
Reference in New Issue
Block a user