warriorjs-engine
Version:
The bowels of WarriorJS
19 lines (14 loc) • 411 B
JavaScript
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');
});
});