Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: avajs/ava
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 19625c9dd1bde2cbbe323f79e393b083ba2ccb78
Choose a base ref
...
head repository: avajs/ava
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e1572d9f66fecfaf4ceb2a84814181b02c8d142e
Choose a head ref

Commits on May 26, 2016

  1. add t.notRegex (#879)

    * add t.notRegex
    
    Fixes #877
    
    * add notRegex to power-assert patterns
    jamestalmage committed May 26, 2016
    Copy the full SHA
    c740202 View commit details

Commits on May 27, 2016

  1. Copy the full SHA
    2e98438 View commit details

Commits on Jun 3, 2016

  1. Copy the full SHA
    60890c4 View commit details

Commits on Jun 5, 2016

  1. update to new power-assert-runtime (#903)

    * updated to power-assert-runtime
    
    * added tests for power assert not throwing on experimental syntax
    
    * bump empower-core to 0.6.1
    nfcampos authored and jamestalmage committed Jun 5, 2016
    1
    Copy the full SHA
    fb3af50 View commit details
  2. Fix Italian recipe links (#902)

    silvenon authored and sindresorhus committed Jun 5, 2016
    Copy the full SHA
    1b00f42 View commit details
  3. Merge branch '0.15'

    jamestalmage committed Jun 5, 2016
    Copy the full SHA
    6d636f2 View commit details

Commits on Jun 8, 2016

  1. Copy the full SHA
    43103f8 View commit details
  2. Copy the full SHA
    402a7d5 View commit details

Commits on Jun 9, 2016

  1. Fix TypeScript recipe. (#907)

    Following the old example didn't work for me. It appears the new recommended way to install `tsc` is just to install `typescript`.
    jamestalmage authored and sindresorhus committed Jun 9, 2016
    Copy the full SHA
    2a6c5a9 View commit details

Commits on Jun 10, 2016

  1. fix typo in test/api.js (#910)

    nfcampos authored and sindresorhus committed Jun 10, 2016
    Copy the full SHA
    68db38e View commit details
  2. move power assert error message formatting to child processes (#911)

    Fixes #703
    
    * moved power assert assertion error formatting to child processes
    
    * fix test that asserted presence of powerAssertContext on AssertionError
    nfcampos authored and jamestalmage committed Jun 10, 2016
    Copy the full SHA
    cddd248 View commit details

Commits on Jun 12, 2016

  1. Copy the full SHA
    c229e9b View commit details

Commits on Jun 14, 2016

  1. bump ava-throws-helper

    jamestalmage committed Jun 14, 2016
    1
    Copy the full SHA
    c95fa7f View commit details

Commits on Jun 15, 2016

  1. Copy the full SHA
    c925920 View commit details

Commits on Jun 16, 2016

  1. bump dependencies

    sindresorhus committed Jun 16, 2016
    Copy the full SHA
    dc30b00 View commit details

Commits on Jun 17, 2016

  1. Copy the full SHA
    6fd817c View commit details

Commits on Jun 19, 2016

  1. Copy the full SHA
    6669a34 View commit details
  2. Copy the full SHA
    fa85489 View commit details
  3. readme: add note about uncaught exceptions (#918)

    fixes issue #917
    arve0 authored and sindresorhus committed Jun 19, 2016
    Copy the full SHA
    9efcee0 View commit details
  4. extract ava-files to it's own module (#925)

    * ava-files should honor a `cwd` option.
    
    * Properly resolve test files in non-watch mode.
    
    * update test/watcher.js to reflect new AvaFiles Api
    
    * extract ava-files to it's own thing
    jamestalmage authored Jun 19, 2016
    Copy the full SHA
    bdc57f4 View commit details
  5. Extract babel config generation into it's own submodule (#924)

    * extract babel config generation into it's own submodule
    
    * no need for defaults
    
    * reassign validate call
    
    * pr feedback
    jamestalmage authored Jun 19, 2016
    Copy the full SHA
    81ffd8d View commit details
  6. Copy the full SHA
    a27c733 View commit details
  7. minor tweaks

    jamestalmage committed Jun 19, 2016
    Copy the full SHA
    ca800eb View commit details

Commits on Jun 23, 2016

  1. Copy the full SHA
    4d3ed27 View commit details

Commits on Jul 1, 2016

  1. Document common pitfalls (#919)

    Juan authored and sindresorhus committed Jul 1, 2016
    Copy the full SHA
    187b8b4 View commit details

Commits on Jul 2, 2016

  1. Copy the full SHA
    6c0f093 View commit details

Commits on Jul 8, 2016

  1. JSPM and SystemJS recipe.

    <!--
    
    Read the [contributing guidelines](https://github.com/avajs/ava/blob/master/contributing.md). We are excited about pull requests, but please try to limit the scope, provide a general description of the changes, and remember, it's up to you to convince us to land it. If this fixes an open issue, link to it in the following way: `Fixes #321`. New features and bug fixes should come with tests.
    
    -->
    
    A recipe for using AVA with JSPM, per discussion on #131. It requires the import of an external library I wrote for the purpose of encapsulating the loader shim so it can be maintained and updated. Here's a link to that library: [ava-jspm-loader](https://github.com/skorlir/ava-jspm-loader).
    
    Closes #941
    fluffywaffles authored and sindresorhus committed Jul 8, 2016
    Copy the full SHA
    c3539c1 View commit details

Commits on Jul 9, 2016

  1. fix import-order linting errors

    vdemedes committed Jul 9, 2016
    Copy the full SHA
    5cfe0d1 View commit details

Commits on Jul 11, 2016

  1. Copy the full SHA
    13cbdc2 View commit details
  2. fix lint issues

    sindresorhus committed Jul 11, 2016
    Copy the full SHA
    6635af0 View commit details
  3. Copy the full SHA
    7827fa1 View commit details
  4. Update JSPM+SystemJS recipe per @jamestalmage.

    See istanbuljs/nyc#305 - specifically [this comment and the one after it](istanbuljs/nyc#305 (comment)).
    
    Essentially, @jamestalmage brought up that it would be good to explicitly mention in the recipe that you should not pre-build your project with JSPM/SystemJS to run your tests. The purpose of ava-jspm-loader is that you do not have to build before testing.
    
    Closes #954
    fluffywaffles authored and sindresorhus committed Jul 11, 2016
    Copy the full SHA
    a539c7e View commit details

Commits on Jul 12, 2016

  1. Copy the full SHA
    b54eafa View commit details
  2. minor readme tweaks

    sindresorhus committed Jul 12, 2016
    Copy the full SHA
    7440ac9 View commit details
  3. add Dependency CI badge

    Not very useful, but want to promote Dependency CI because it's awesome.
    sindresorhus authored Jul 12, 2016
    Copy the full SHA
    05f1890 View commit details

Commits on Jul 13, 2016

  1. Copy the full SHA
    1dd6d5b View commit details
  2. minor code style tweaks

    sindresorhus committed Jul 13, 2016
    Copy the full SHA
    c82f980 View commit details

Commits on Jul 14, 2016

  1. provide clear error message when users attempt nested/async calls to …

    …`test` (#961)
    
    Fixes #948.
    
    AVA does not support nested / async calls to `test`, but we were not providing a great error message when users attempted that.
    
    * added failing test for expected error
    
    * tests passed: waiting for review
    
    * added test
    
    * changed error message
    
    * fixed error in test
    
    * changed 'hasBegunRunning' to 'hasStarted'
    asafigan authored and jamestalmage committed Jul 14, 2016
    Copy the full SHA
    8edd9c2 View commit details

Commits on Jul 20, 2016

  1. Update Juan Soto link

    Juan Soto committed Jul 20, 2016
    Copy the full SHA
    1c6abe0 View commit details

Commits on Jul 24, 2016

  1. Copy the full SHA
    f9fe8f2 View commit details

Commits on Aug 6, 2016

  1. Copy the full SHA
    1bff531 View commit details
  2. 0.16.0

    sindresorhus committed Aug 6, 2016
    Copy the full SHA
    01a110e View commit details
  3. Support karma-ava

    closes #942
    
    This does a few things:
    
    - Moves anything used in child processes that the browser can't replicate into `lib/process-adapter.js` (so that browser implementations can implement that missing functionality).
    - Separates out `prefix-title` so `karma-ava` can use it.
    
    It enables use of [`karma-ava`](https://github.com/avajs/karma-ava), which is very preliminary right now, but does work: https://cloud.githubusercontent.com/assets/4082216/16401095/75720328-3caf-11e6-950d-27a9e48bbf9a.png
    
    --
    
    This also includes two commits from #896
    jamestalmage authored and sindresorhus committed Aug 6, 2016
    Copy the full SHA
    204f2be View commit details
  4. Copy the full SHA
    78d47b3 View commit details

Commits on Aug 8, 2016

  1. Copy the full SHA
    adc823e View commit details

Commits on Aug 9, 2016

  1. modularize the class binding

    one less TODO \o/
    sindresorhus committed Aug 9, 2016
    Copy the full SHA
    40b4bcd View commit details

Commits on Aug 11, 2016

  1. Use updated ava-files module (#994)

    Vadim Demedes authored and sindresorhus committed Aug 11, 2016
    Copy the full SHA
    d19d1d1 View commit details
  2. use path.relative() to detect local AVA installation (#993)

    Vadim Demedes authored and sindresorhus committed Aug 11, 2016
    Copy the full SHA
    ee13725 View commit details
  3. Copy the full SHA
    ea25b20 View commit details
  4. Copy the full SHA
    8816faf View commit details
Showing 599 changed files with 32,927 additions and 13,072 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -7,6 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* text=auto
* text=auto eol=lf
*.ai binary
*.psd binary
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
- We realize there is a lot of data requested here. We ask only that you do your best to provide as much information as possible so we can better help you.
- Read the [contributing guidelines](https://github.com/avajs/ava/blob/master/contributing.md).
- Support questions are better asked in one of the following locations:
- [Our chat](https://gitter.im/avajs/ava)
- [Our chat](https://spectrum.chat/ava)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/ava)
- Ensure the issue isn't already reported.
- Should be reproducible with the latest AVA version.
4 changes: 1 addition & 3 deletions .iron-node.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,5 @@ module.exports = {
openDevToolsDetached: true,
hideMainWindow: true
},
workSpaceDirectory: function () {
return __dirname;
}
workSpaceDirectory: () => __dirname
};
55 changes: 46 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,48 @@
language: node_js
os:
- windows
- linux
node_js:
- '6'
- '5'
- '4'
- '0.12'
- '0.10'
before_install:
- 'npm install -g npm@latest'
after_success:
- '[ -z "$COVERALLS_REPO_TOKEN" ] && tap --coverage-report=text-lcov | ./node_modules/.bin/coveralls'
- 12
- 11
- 10
- 8
env:
- FRESH_DEPS=false
- FRESH_DEPS=true
matrix:
exclude:
- node_js: 12
env: FRESH_DEPS=true # Assume any bugs that occur with fresh dependencies are not platform specific.
os: windows
- node_js: 12
env: FRESH_DEPS=false
os: linux # Windows already tests without fresh dependencies, and we test *with* on Linux.
- node_js: 11
os: windows # We don't need to test odd-version releases very hard.
- node_js: 11
env: FRESH_DEPS=true
- node_js: 10
env: FRESH_DEPS=true
- node_js: 8
env: FRESH_DEPS=true
cache: npm
before_install: if [[ "$(npm -v)" != "6.9.0" ]] && [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then npm install --global npm@6.9.0; fi
install: npm ci
before_script: |
if [[ ${FRESH_DEPS} == "true" ]]; then
npm install --no-shrinkwrap --prefer-online
elif [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then
checksum=$(md5sum package-lock.json)
npm install --package-lock-only
if ! echo ${checksum} | md5sum --quiet -c -; then
echo "package-lock.json was modified unexpectedly. Please rebuild it using npm@$(npm -v) and commit the changes."
exit 1
fi
fi
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
git config core.symlinks true
git reset --hard
fi
after_success: npx codecov --file=./coverage/lcov.info
309 changes: 0 additions & 309 deletions api.js

This file was deleted.

Loading