Got tests running on single property character
This commit is contained in:
@@ -3,9 +3,9 @@ import { assert } from 'chai';
|
||||
import CreatureProperties from '/imports/api/creature/creatureProperties/CreatureProperties.js';
|
||||
|
||||
describe('buildComputation', function(){
|
||||
it('Builds something', function(){
|
||||
it('Builds something at all', function(){
|
||||
let computation = buildComputationFromProps(testProperties);
|
||||
console.log(computation);
|
||||
assert.exists(computation);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,6 +13,14 @@ var testProperties = [
|
||||
clean({
|
||||
_id: 'attributeId123',
|
||||
type: 'attribute',
|
||||
variableName: 'strength',
|
||||
attributeType: 'ability',
|
||||
baseValue: {
|
||||
calculation: '1 + 2 + 3',
|
||||
},
|
||||
description: {
|
||||
text: 'strength is {strength}'
|
||||
}
|
||||
}),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user