UNPKG

321 BJavaScriptView Raw
1"use strict";
2
3var _userReductions = require("./user-reductions");
4
5test('setUser', function () {
6 expect((0, _userReductions.setUserReduction)({
7 foo: 'foo'
8 })()).toEqual({
9 foo: 'foo'
10 });
11});
12test('deleteUser', function () {
13 expect((0, _userReductions.deleteUserReduction)()('anything')).toEqual(null);
14});
\No newline at end of file