Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State managment for entries #17

Merged
merged 6 commits into from
Aug 1, 2018
Merged

State managment for entries #17

merged 6 commits into from
Aug 1, 2018

Conversation

Shelob9
Copy link
Contributor

@Shelob9 Shelob9 commented Aug 1, 2018

#7

@@ -0,0 +1,18 @@
export const SET_ENTRIES = 'SET_ENTRIES';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definition for rule 'jest/prefer-to-have-length' was not found

formId,
pageNumber,
entries
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

pageNumber,
entries
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

@coveralls
Copy link

coveralls commented Aug 1, 2018

Pull Request Test Coverage Report for Build 30

  • 13 of 13 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.7%) to 90.545%

Totals Coverage Status
Change from base Build 24: 0.7%
Covered Lines: 174
Relevant Lines: 190

💛 - Coveralls

* @param {Object} state Collection of entries, by form Id and page
* @return {*}
*/
export const getPageOfEntries = (formId,pageNumber,state) =>{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definition for rule 'jest/prefer-to-have-length' was not found

@@ -20,6 +20,8 @@ import {
getStyleIncludes,
getOtherSettings
} from "../state/selectors.settings";
import {entriesReducer} from "../state/reducers";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'entriesReducer' is defined but never used.

}
}

) ).toEqual( {a:1})
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

}

) ).toEqual([]);
})
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

@@ -1,5 +1,8 @@
import * as calderaState from '../state/module';
import {closeStatus, startSpinner, stopSpinner, updateStatus} from "../state/actions.status";
import {setEntries} from "../state/actions.entries";
import {getPageOfEntries} from "../state/selectors.entries";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'getPageOfEntries' is defined but never used.

@@ -1,5 +1,8 @@
import * as calderaState from '../state/module';
import {closeStatus, startSpinner, stopSpinner, updateStatus} from "../state/actions.status";
import {setEntries} from "../state/actions.entries";
import {getPageOfEntries} from "../state/selectors.entries";
import {CALDERA_FORMS_ENTRIES_SLUG} from "../state";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'CALDERA_FORMS_ENTRIES_SLUG' is defined but never used.

@codeclimate
Copy link

codeclimate bot commented Aug 1, 2018

Code Climate has analyzed commit f883cf8 and detected 6 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2
Bug Risk 2
Clarity 2

View more on Code Climate.

@Shelob9 Shelob9 merged commit dd5ab69 into master Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants