Use verbose client test output on travis
This commit is contained in:
parent
b639ba6846
commit
9f8a0d72ba
@ -22,7 +22,7 @@ install:
|
|||||||
- yarn
|
- yarn
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm test
|
- npm run test:verbose
|
||||||
- gulp build
|
- gulp build
|
||||||
- cd ..
|
- cd ..
|
||||||
- go vet $(go list ./... | grep -v '/vendor/')
|
- go vet $(go list ./... | grep -v '/vendor/')
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "npm test -- --watch"
|
"test:verbose": "jest --verbose",
|
||||||
|
"test:watch": "jest --watch"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import reducer from '../channels';
|
|||||||
import { connect } from '../servers';
|
import { connect } from '../servers';
|
||||||
import * as actions from '../actions';
|
import * as actions from '../actions';
|
||||||
|
|
||||||
describe('reducers/channels', () => {
|
describe('channel reducer', () => {
|
||||||
it('removes channels on PART', () => {
|
it('removes channels on PART', () => {
|
||||||
let state = Immutable.fromJS({
|
let state = Immutable.fromJS({
|
||||||
srv1: {
|
srv1: {
|
||||||
|
@ -3,7 +3,7 @@ import reducer, { broadcast } from '../messages';
|
|||||||
import * as actions from '../actions';
|
import * as actions from '../actions';
|
||||||
import appReducer from '../app';
|
import appReducer from '../app';
|
||||||
|
|
||||||
describe('reducers/messages', () => {
|
describe('message reducer', () => {
|
||||||
it('adds the message on ADD_MESSAGE', () => {
|
it('adds the message on ADD_MESSAGE', () => {
|
||||||
const state = reducer(undefined, {
|
const state = reducer(undefined, {
|
||||||
type: actions.ADD_MESSAGE,
|
type: actions.ADD_MESSAGE,
|
||||||
|
@ -2,7 +2,7 @@ import Immutable from 'immutable';
|
|||||||
import reducer, { connect, setServerName } from '../servers';
|
import reducer, { connect, setServerName } from '../servers';
|
||||||
import * as actions from '../actions';
|
import * as actions from '../actions';
|
||||||
|
|
||||||
describe('reducers/servers', () => {
|
describe('server reducer', () => {
|
||||||
it('adds the server on CONNECT', () => {
|
it('adds the server on CONNECT', () => {
|
||||||
let state = reducer(undefined, connect('127.0.0.1:1337', 'nick', {}));
|
let state = reducer(undefined, connect('127.0.0.1:1337', 'nick', {}));
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import reducer, { setSelectedTab } from '../tab';
|
|||||||
import * as actions from '../actions';
|
import * as actions from '../actions';
|
||||||
import { locationChanged } from '../../util/router';
|
import { locationChanged } from '../../util/router';
|
||||||
|
|
||||||
describe('reducers/tab', () => {
|
describe('tab reducer', () => {
|
||||||
it('selects the tab and adds it to history', () => {
|
it('selects the tab and adds it to history', () => {
|
||||||
let state = reducer(undefined, setSelectedTab('srv', '#chan'));
|
let state = reducer(undefined, setSelectedTab('srv', '#chan'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user