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

Extract the resolving of a page's path and test it #232

Merged
merged 3 commits into from
Apr 9, 2016

Commits on Apr 4, 2016

  1. Extract the resolving of a page's path and test it

    * Extracts the resolving of a page's path to it's own file for
    testability.
    * Adds `ava` as a development dependency to write and run tests.
    * Adds ava related settings to inherit the babel config and run the
    tests with npm test to package.json
    * Refactor the quad-nested if statements in path resolving.
    
    Working toward resolving Issue gatsbyjs#154
    benstepp committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    66bf51c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2016

  1. Separate building Page Data and Globbing Pages

    * Split up all the spaghetti in glob-pages up so that it can be unit
    tested.
    * Renamed `pathresolver` to `urlResolver`
    * Added tests to verify the structure of the data returned by the new
    pathResolver.
    * updated the urlResolver's tests with the new function name
    benstepp committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    cb5d140 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2016

  1. Update ava to 0.14.0

    benstepp committed Apr 8, 2016
    Configuration menu
    Copy the full SHA
    3434e49 View commit details
    Browse the repository at this point in the history