UNPKG

warriorjs-engine

Version:
19 lines (14 loc) 411 B
import chai from 'chai'; import Melee from '../../src/units/Melee'; chai.should(); describe('Melee', function () { beforeEach(function () { this.meleeUnit = new Melee(); }); it('should have feel sense', function () { this.meleeUnit.abilities.should.include.key('feel'); }); it('should have attack action', function () { this.meleeUnit.abilities.should.include.key('attack'); }); });