rinse0ut/scrabble

View on GitHub
test/actions/quiz.spec.js

Summary

Maintainability
A
35 mins
Test Coverage
import expect from 'expect'
import * as actions from '../../actions'

describe('Quiz actions', () => {
  it('setStartingLetter should create SET_STARTING_LETTER action', () => {
    expect(actions.setStartingLetter('A')).toEqual({
      type: 'SET_STARTING_LETTER',
      letter: 'A'
    })
  })
})