diff --git a/test/client/unit/specs/getters/userGems.spec.js b/test/client/unit/specs/getters/userGems.spec.js new file mode 100644 index 0000000000..7f9375ea6c --- /dev/null +++ b/test/client/unit/specs/getters/userGems.spec.js @@ -0,0 +1,13 @@ +import { userGems } from 'client/store/getters'; + +describe('userGems getter', () => { + it('returns the user\'s gems', () => { + expect(userGems({ + state: { + user: { + balance: 4.5, + }, + }, + })).to.equal(18); + }); +}); \ No newline at end of file