chore: remove deprecated apis for ns 6.0 (#7382)

This commit is contained in:
Manol Donev
2019-06-25 16:52:01 +03:00
committed by GitHub
parent 0bfddab915
commit b20e771552
108 changed files with 413 additions and 1850 deletions

View File

@@ -133,7 +133,6 @@ export function test_setInterval_callbackCalledDuringPeriod(done) {
export function test_setInterval_callbackCalledWithExtraArgs(done) {
let counter: number = 0;
const expected: number = 4;
const rnd: number = Math.random();
const start = TKUnit.time();
@@ -148,8 +147,6 @@ export function test_setInterval_callbackCalledWithExtraArgs(done) {
};
export function test_setInterval_callbackShouldBeCleared(done) {
let counter = 0;
const start = TKUnit.time();
// >> timer-set-interval
const id = timer.setInterval(() => {
@@ -211,4 +208,4 @@ export function test_clearTimeout_insideCallback() {
TKUnit.waitUntilReady(() => completed, 0.5);
TKUnit.assert(completed, "Callback should be called");
}
}