mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
12 lines
218 B
JavaScript
12 lines
218 B
JavaScript
import gold from '../../../common/script/libs/gold';
|
|
|
|
describe('gold', () => {
|
|
it('is 0', () => {
|
|
expect(gold()).to.eql('0');
|
|
});
|
|
|
|
it('is 5 in 5.2 of gold', () => {
|
|
expect(gold(5.2)).to.eql(5);
|
|
});
|
|
});
|