Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Update dependency ava to version 0.18.2 #13

Merged
merged 1 commit into from
Mar 21, 2017
Merged

Update dependency ava to version 0.18.2 #13

merged 1 commit into from
Mar 21, 2017

Conversation

renovate-bot
Copy link
Collaborator

This Pull Request updates dependency ava from version 0.18.1 to 0.18.2

Changelog

0.18.2 / 2017-02-18

  • 0.18.2
  • Speed up flow check (#1241)
    `flow check` is easily taking 30 seconds on my development machine,
    presumably it's checking too many files. Move the .flowconfig into
    the flow-types test directory and only include the index.js.flow file
    to improve check speed.
  • Document that deepEqual() uses lodash.isequal
  • Don't call toJSON() when formatting values
    Fixes #1233. Our assertions don't call toJSON(), so we shouldn't use
    it either when displaying actual and expected values.
  • @ava/pretty-format@^1.1.0
  • Ensure test run failures crash worker (#1265)
    • Ensure Test#run() returns exit promise
      This allows errors from the exit logic to propagate to the runner.
    • Treat runner errors as uncaught exceptions
      Errors that occur inside the runner are treated as uncaught exceptions.
      This prevents them from being swallowed in the promise chain, causing
      the test to hang.
    • fixup! Treat runner errors as uncaught exceptions
    • fixup! Treat runner errors as uncaught exceptions
  • Code excerpt fixes (#1271)
    • Resolve absolute source file path when serializing errors
      Fixes #1270.
    • Bail excerpting code if file cannot be read
    • temp-write@^3.1.0
    • Restrict code excerpts to tests/helpers/sources
      Don't show code excerpts for dependencies or code outside the project
      directory. Determine where the source lives when serializing the error.
      Then, when excerpting the code, bail if it lives outside the project
      or is a dependency.
  • Fix typo in babelrc docs
  • Remove Notes section from babelrc documentation
    We no longer rewrite paths. Mentioning future uses seems unnecessary. What's left is implicitly covered elsewhere.
  • Ensure watcher rethrows logger errors
    The watcher would break if logger.finish() threw an exception. Instead
    rethrow this error (which causes the process to exit).
  • Simplify failure output - fixes #1072 (#1234)
  • Clean up API tests (#1258)
    • Remove double space in generated API test titles
    • Improve test management in API tests
      Tests don't need to be ended when a promise is returned.
      Test plans are not necessary if all assertions occur within the returned
      promise chain. Exceptions will still fail the test.
  • Generate HTML coverage reports (#1259)
    This makes it easier to inspect the code coverage during development.
  • Ensure TAP reporter test does not write to stderr (#1240)
    Stub process.stderr.write(), rather than just spying on it. Otherwise
    'resultresult' gets written to the stderr while the tests run.
  • Avoid helper compilation during API tests
    We're ending up compiling all helper-like files in AVA's test/
    directory, which is unnecessary.
  • Clarify directories used by API (#1252)
    • Rename pkgDir to projectDir: this better communicates it's the
      directory of the user's project.
    • Remove unused cwd option from API.
    • Remove default for resolveTestsFrom. It's confusing to see
      process.cwd() in the code even though it's never actually used.
    • Ensure API test properly creates the API instances.
  • Document helper precompilation caveat (in code at least) (#1251)
  • Flow type definition for snapshot assertion #1245 (#1247)
  • Add TypeScript definition for the snapshot assertion (#1243)
  • Bump `stack-utils`
    Closes #1003.
  • Fix some minor issues with #1198
  • Added support for --no-color flag in verbose and mini reporters (#1198)
  • Add flow type tests (#1230)
    Closes #1224.
    This adds flow-bin, adds it to the test running script, and adds some regression tests based on prior issues.
    In an immediate proof of value (and proof of my own prior sloppiness) it spotted an issue that #1219 sought to fix and did not do so. Fix included along with test.
  • Show how many tests were skipped by --fail-fast (#1221)
  • Add Flow and TS type definitions to "Why AVA?"
  • Fix flow errors using t.throws and t.notThrows (#1219)
    Instead of double-defining each of these, define them once while using overloading.
    Also took some liberties to improve the definition. Specifically, ava doesn't care what values these throwing functions return, but doesn't produce a return value.
    Fixes #1148

@hutson hutson self-assigned this Mar 21, 2017
@hutson hutson merged commit 1e2ab61 into master Mar 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants