joyent-portal/frontend/test/actions/index.js

28 lines
555 B
JavaScript
Raw Normal View History

2017-02-24 15:28:41 +02:00
// const ReduxAva = require('redux-ava');
2016-12-20 13:29:54 +02:00
const test = require('ava');
2017-02-24 15:28:41 +02:00
//
// const actions = require('@state/actions');
//
// const {
// actionTest
// } = ReduxAva;
//
// const {
// updateRouter
// } = actions;
2016-12-20 13:29:54 +02:00
2017-02-24 15:28:41 +02:00
test('test action', (t) => t.deepEqual(1, 1));
//
// test('updateRouter action', actionTest(updateRouter, {
// type: '/UPDATE_ROUTER'
// }));
//
// test('updateRouter action', actionTest(updateRouter, {
// transitionTo: '[Function]'
// }, {
// type: '/UPDATE_ROUTER',
// payload: {
// transitionTo: '[Function]'
// }
// }));