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

feat: Rewrite - type-based assertions and better diffing. #341

Merged
merged 48 commits into from
May 6, 2021

Commits on Jan 21, 2021

  1. feat: Rewrite interface to only allow assertions on types that make s…

    …ense.
    Hannes Leutloff committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    6549c37 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Merge branch 'main' into feat/constrain-types

    Hannes Leutloff committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    8baf294 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Start rewrite.

    Hannes Leutloff committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    20c69bb View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. Implement first version for function-related assertions.

    Hannes Leutloff committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    3fd99e9 View commit details
    Browse the repository at this point in the history
  2. Fully implement assertions for functions.

    Hannes Leutloff committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    31bc11c View commit details
    Browse the repository at this point in the history
  3. Reformat error messages.

    Hannes Leutloff committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    6fbda2b View commit details
    Browse the repository at this point in the history
  4. Fix some formatting and wrong tests.

    Hannes Leutloff committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    919dbf9 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Implement comparisons and assertions for numbers.

    Hannes Leutloff committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    b085403 View commit details
    Browse the repository at this point in the history
  2. Implement string comparisons and assertions.

    Hannes Leutloff committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    d44c2a9 View commit details
    Browse the repository at this point in the history
  3. Adjust some error messages.

    Hannes Leutloff committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    7498de4 View commit details
    Browse the repository at this point in the history
  4. Implement assertions and comparisons for booleans.

    Hannes Leutloff committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    1fcd662 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Add tests for coming assertthatForArray implementation.

    Hannes Leutloff committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    b9b362d View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Do the thing with the diffs.

    Hannes Leutloff committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    2dd531b View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Add lots of comparing and pretty printing.

    Rewrite parts of the array diffing logic so that comparisons with
    `blank` are no longer necessary.
    Hannes Leutloff committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    e32171d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Add comparings for sets, maps and undefined.

    Hannes Leutloff committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    690aed8 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. Move stuff; Restructure entrypoint.

    Hannes Leutloff committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    68a8c50 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Add lots of comparisons tests; Fix bugs; Add features.

    Hannes Leutloff committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    b0b38e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Add tests for dispelling.

    Hannes Leutloff committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    47f8e00 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Add lots of assertions and tests.

    Hannes Leutloff committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    687b171 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Add lots of assertions and tests.

    Hannes Leutloff committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    175c53a View commit details
    Browse the repository at this point in the history
  2. Clean up dependencies; Add more features and tests.

    Hannes Leutloff committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    5e6a9f9 View commit details
    Browse the repository at this point in the history
  3. Delete obsolete file.

    Hannes Leutloff committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    68bef62 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Rename nan to NaN.

    Hannes Leutloff committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    7752c2b View commit details
    Browse the repository at this point in the history
  2. Implement ofType.

    Hannes Leutloff committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    5b088bf View commit details
    Browse the repository at this point in the history
  3. Fix an eslint issue.

    Hannes Leutloff committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    bea9098 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Improve diff printing and add legend.

    Hannes Leutloff committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    09aab7a View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Vastly improve and refactor formatting.

    Hannes Leutloff committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    8a31be2 View commit details
    Browse the repository at this point in the history
  2. Refactor formatter even further.

    Hannes Leutloff committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    be27fef View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. 6.0.0-internal.1

    Hannes Leutloff committed May 3, 2021
    Configuration menu
    Copy the full SHA
    90d23fc View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Move false() and true() assertion to forAny assertions.

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    48204ea View commit details
    Browse the repository at this point in the history
  2. 6.0.0-internal.2

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    465c8fc View commit details
    Browse the repository at this point in the history
  3. Add missing parameters for function assertions.

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    9f00d71 View commit details
    Browse the repository at this point in the history
  4. 6.0.0-internal.3

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    ed33300 View commit details
    Browse the repository at this point in the history
  5. Fix atLeast and atMost for nested objects and maps.

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    419c3e1 View commit details
    Browse the repository at this point in the history
  6. Fix eslint issues.

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    295b441 View commit details
    Browse the repository at this point in the history
  7. 6.0.0-internal.4

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    4596d08 View commit details
    Browse the repository at this point in the history
  8. Fix omission/addition finding in objects.

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    f18ea2f View commit details
    Browse the repository at this point in the history
  9. 6.0.0-internal.5

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    5b4bf24 View commit details
    Browse the repository at this point in the history
  10. Improve diff algorithm by using element size as weight for omissions/…

    …additions.
    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    b3d974e View commit details
    Browse the repository at this point in the history
  11. 6.0.0-internal.6

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    0212acb View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fe20524 View commit details
    Browse the repository at this point in the history
  13. Update documentation.

    goloroden committed May 5, 2021
    Configuration menu
    Copy the full SHA
    57a4055 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8868509 View commit details
    Browse the repository at this point in the history
  15. Update documentation.

    goloroden committed May 5, 2021
    Configuration menu
    Copy the full SHA
    a2d540f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d7906d2 View commit details
    Browse the repository at this point in the history
  17. Update chalk.

    goloroden committed May 5, 2021
    Configuration menu
    Copy the full SHA
    fb3b97e View commit details
    Browse the repository at this point in the history
  18. 6.0.0-internal.7

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    c629c78 View commit details
    Browse the repository at this point in the history
  19. Fix type and add caveats.

    Hannes Leutloff committed May 5, 2021
    Configuration menu
    Copy the full SHA
    2ba3366 View commit details
    Browse the repository at this point in the history