Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 55fa1bf

Browse files
committed
fix(test): Test missing feat was removed
1 parent fed52ba commit 55fa1bf

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

test/unit/tests.js

-43
Original file line numberDiff line numberDiff line change
@@ -631,49 +631,6 @@
631631
test.done()
632632
},
633633

634-
'Test TWEEN.Tween.stopChainedTweens()': function (test) {
635-
var t = new TWEEN.Tween({}),
636-
tStarted = false,
637-
tCompleted = false,
638-
t2 = new TWEEN.Tween({}),
639-
t2Started = false
640-
641-
TWEEN.removeAll()
642-
643-
t.to({}, 1000)
644-
t2.delay(500).to({}, 1000)
645-
646-
t.chain(t2)
647-
t2.chain(t)
648-
649-
t.on('start', function () {
650-
tStarted = true
651-
})
652-
653-
t.on('complete', function () {
654-
tCompleted = true
655-
})
656-
657-
t2.on('start', function () {
658-
test.equal(tStarted, true)
659-
test.equal(tCompleted, true)
660-
test.equal(t2Started, false)
661-
t2Started = true
662-
})
663-
664-
test.equal(tStarted, false)
665-
test.equal(t2Started, false)
666-
667-
t.start(0)
668-
TWEEN.update(1001)
669-
t.stop()
670-
671-
test.equal(tStarted, true)
672-
test.equal(t2Started, false)
673-
test.equal(TWEEN.getAll().length, 0)
674-
test.done()
675-
},
676-
677634
'Test that TWEEN.Tween.end sets the final values.': function (test) {
678635
var object1 = {x: 0, y: -50, z: 1000}
679636
var target1 = {x: 50, y: 123, z: '+234'}

0 commit comments

Comments
 (0)