You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/sim/abilities/protosynthesis.js
+33-3
Original file line number
Diff line number
Diff line change
@@ -77,16 +77,46 @@ describe('Protosynthesis', function () {
77
77
assert.equal(tail.volatiles['protosynthesis'].bestStat,'spd',`Scream Tail's SpD should have been boosted by Protosynthesis in Sun while holding Utility Umbrella`);
78
78
});
79
79
80
-
it(`should not be prevented from activating by weather suppressing abilities`,function(){
80
+
it(`should not be deactiviated by weather suppressing abilities`,function(){
assert.equal(tail.volatiles['protosynthesis'].bestStat,'spd',`Scream Tail's SpD should have remained boosted by Protosynthesis in Sun even though a weather supressing ability was activated`);
92
+
});
93
+
94
+
it(`should not activate if weather is suppressed`,function(){
assert.equal(tail.volatiles['protosynthesis'],undefined,`Scream Tail should not have been boosted by Protosynthesis because a weather supressing ability was active when Sun started`);
105
+
});
106
+
107
+
it(`should activate when weather supression ends`,function(){
assert.equal(tail.volatiles['protosynthesis'].bestStat,'spd',`Scream Tail's SpD should have been boosted by Protosynthesis in Sun even though a weather supressing ability was active`);
117
+
battle.makeChoices('move splash','switch 2');
118
+
119
+
assert.equal(tail.volatiles['protosynthesis'].bestStat,'spd',`Scream Tail should have been boosted by Protosynthesis because a weather supressing ability ended while Sun was active`);
90
120
});
91
121
92
122
it(`should have its boost nullified by Neutralizing Gas`,function(){
0 commit comments