mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: remove deprecated apis for ns 6.0 (#7382)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user