Revert "Consistently format text bubbles"

This reverts commit bc61e547b5.
This commit is contained in:
DD Liu 2020-03-19 12:40:55 -04:00
parent 7330129cc6
commit 2a42285abe
2 changed files with 14 additions and 32 deletions

View file

@ -15,9 +15,7 @@ const util = {
{name: 'second name'},
{name: 'third name'}
]
},
_customState: {},
getCustomState: () => util.target._customState
}
}
};
@ -204,15 +202,14 @@ test('numbers should be rounded to two decimals in say', t => {
const args = {MESSAGE: 3.14159};
const expectedSayString = '3.14';
rt.addListener('SAY', () => {
const bubbleState = util.target.getCustomState(Looks.STATE_KEY);
t.strictEqual(bubbleState.text, expectedSayString);
rt.removeAllListeners('SAY'); // Prevent say blocks from executing
rt.addListener('SAY', (target, type, sayString) => {
t.strictEqual(sayString, expectedSayString);
t.end();
});
looks.say(args, util);
looks.think(args, util);
t.end();
});
test('clamp graphic effects', t => {