refactor: add team effect
This commit is contained in:
@@ -231,7 +231,7 @@ describe('enemyIntentDesert.csv import', () => {
|
||||
it('should have effects with target, effect ref, and value', () => {
|
||||
for (const intent of enemyIntentDesertData) {
|
||||
for (const [target, effect, value] of intent.effects) {
|
||||
expect(target === 'self' || target === 'player').toBe(true);
|
||||
expect(target === 'self' || target === 'player' || target === 'team').toBe(true);
|
||||
expect(typeof effect === 'string' || typeof effect === 'object').toBe(true);
|
||||
expect(typeof value).toBe('number');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user