Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

[WIP] Feature/election lookup #451

Merged
merged 14 commits into from
Aug 13, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Aug 10, 2015

Prototype of #354.

@@ -117,3 +118,9 @@ gulp.task('build-js', function() {
.bundle()
.pipe(callback('static/js/common.js'));
});

gulp.task('test', function() {
return mochify('./tests/unit/**.js')
Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking we'd keep dir organization here mirrored with the actual js. SO in this case, we'd have tests/unit/modules or tests/unit/pages. What do you think of that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. I separated the election lookup logic into a resuable module (modules/election-lookup) and a page that imports and instantiates the module (pages/election-lookup), so the tests have moved to tests/unit/modules/election-lookup.

@jmcarp
Copy link
Contributor Author

jmcarp commented Aug 13, 2015

Updated with style improvements from @noahmanger. Want to merge now for testing tomorrow? If not, I can deploy this branch directly to the dev server.

noahmanger pushed a commit that referenced this pull request Aug 13, 2015
@noahmanger noahmanger merged commit 3f9f60a into fecgov:develop Aug 13, 2015
@noahmanger
Copy link
Contributor

Looks great. Let me know when you push it up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants