Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prescottprue committed Oct 14, 2016
1 parent e999acc commit b0e9d03
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
26 changes: 26 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
codecov:
notify:
require_ci_to_pass: true
comment:
behavior: default
layout: header, diff
require_changes: false
coverage:
precision: 2
range:
- 70.0
- 100.0
round: down
status:
changes: false
patch: true
project: true
parsers:
gcov:
branch_detection:
conditional: true
loop: true
macro: false
method: false
javascript:
enable_partials: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-redux-firebase",
"version": "1.0.0-beta.2",
"version": "1.0.0",
"description": "A Higher Order Component to use Firebase version 3 with Redux",
"main": "dist/index.js",
"module": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion test/unit/library.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe('redux-firebasev3', () => {
describe('exports', () => {
it('firebase', () => {
expect(src).to.respondTo('firebase')
});
})
it('firebaseStateReducer', () => {
expect(src).to.respondTo('firebaseStateReducer')
})
Expand Down
13 changes: 13 additions & 0 deletions test/unit/reducer.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* global describe expect it */
import { firebaseStateReducer } from '../../src'
// import { actionTypes } from '../../src/constants'
const exampleState = {}

describe('reducer', () => {
it('is a function', () => {
expect(firebaseStateReducer).to.be.a.function
})
it('returns state by default', () => {
expect(firebaseStateReducer(exampleState)).to.equal(exampleState)
})
})

0 comments on commit b0e9d03

Please sign in to comment.