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: xobotyi/await-of
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.0
Choose a base ref
...
head repository: xobotyi/await-of
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.1
Choose a head ref

Commits on May 18, 2020

  1. Copy the full SHA
    c85f5fa View commit details

Commits on May 21, 2020

  1. Merge pull request #93 from xobotyi/dependabot/npm_and_yarn/ts-jest-2…

    …6.0.0
    
    build(deps-dev): bump ts-jest from 25.5.1 to 26.0.0
    xobotyi authored May 21, 2020
    Copy the full SHA
    1070d8f View commit details

Commits on May 25, 2020

  1. build(deps-dev): bump rollup from 2.10.5 to 2.10.9

    Bumps [rollup](https://github.com/rollup/rollup) from 2.10.5 to 2.10.9.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.10.5...v2.10.9)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 25, 2020
    Copy the full SHA
    38fa14e View commit details
  2. build(deps-dev): bump lint-staged from 10.2.4 to 10.2.6

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.4 to 10.2.6.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v10.2.4...v10.2.6)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 25, 2020
    Copy the full SHA
    73e143e View commit details
  3. build(deps-dev): bump semantic-release from 17.0.7 to 17.0.8

    Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.0.7 to 17.0.8.
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v17.0.7...v17.0.8)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 25, 2020
    Copy the full SHA
    ad417f7 View commit details
  4. build(deps-dev): bump eslint from 7.0.0 to 7.1.0

    Bumps [eslint](https://github.com/eslint/eslint) from 7.0.0 to 7.1.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
    - [Commits](eslint/eslint@v7.0.0...v7.1.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 25, 2020
    Copy the full SHA
    6414ad2 View commit details
  5. Copy the full SHA
    fd50cf1 View commit details
  6. build(deps-dev): bump rollup-plugin-terser from 5.3.0 to 6.1.0

    Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.3.0 to 6.1.0.
    - [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
    - [Commits](TrySound/rollup-plugin-terser@v5.3.0...v6.1.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 25, 2020
    Copy the full SHA
    d744076 View commit details
  7. Copy the full SHA
    e3a54b0 View commit details
  8. Copy the full SHA
    00b607f View commit details
  9. Copy the full SHA
    c978b9c View commit details
  10. Merge pull request #103 from xobotyi/dependabot/npm_and_yarn/rollup-p…

    …lugin-terser-6.1.0
    
    build(deps-dev): bump rollup-plugin-terser from 5.3.0 to 6.1.0
    xobotyi authored May 25, 2020
    Copy the full SHA
    47d6067 View commit details

Commits on May 28, 2020

  1. build(deps-dev): bump rollup from 2.10.9 to 2.11.0

    Bumps [rollup](https://github.com/rollup/rollup) from 2.10.9 to 2.11.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.10.9...v2.11.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 28, 2020
    Copy the full SHA
    52ab2eb View commit details
  2. Copy the full SHA
    84eea9c View commit details

Commits on May 29, 2020

  1. build(deps-dev): bump rollup from 2.11.0 to 2.11.2

    Bumps [rollup](https://github.com/rollup/rollup) from 2.11.0 to 2.11.2.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.11.0...v2.11.2)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored May 29, 2020
    Copy the full SHA
    04e3e87 View commit details
  2. Copy the full SHA
    f5b73dc View commit details

Commits on Jun 5, 2020

  1. build(deps-dev): bump lint-staged from 10.2.6 to 10.2.9

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.6 to 10.2.9.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v10.2.6...v10.2.9)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 5, 2020
    Copy the full SHA
    0b0fe25 View commit details
  2. build(deps-dev): bump typescript from 3.9.3 to 3.9.5

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v3.9.3...v3.9.5)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 5, 2020
    Copy the full SHA
    06ebbda View commit details

Commits on Jun 8, 2020

  1. build(deps-dev): bump eslint from 7.1.0 to 7.2.0

    Bumps [eslint](https://github.com/eslint/eslint) from 7.1.0 to 7.2.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
    - [Commits](eslint/eslint@v7.1.0...v7.2.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 8, 2020
    Copy the full SHA
    a7da915 View commit details

Commits on Jun 9, 2020

  1. build(deps-dev): bump rollup from 2.11.2 to 2.15.0

    Bumps [rollup](https://github.com/rollup/rollup) from 2.11.2 to 2.15.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.11.2...v2.15.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 9, 2020
    Copy the full SHA
    1794da9 View commit details

Commits on Jun 10, 2020

  1. Copy the full SHA
    e94d91f View commit details
  2. Merge pull request #118 from xobotyi/dependabot/npm_and_yarn/types/je…

    …st-26.0.0
    
    build(deps-dev): bump @types/jest from 25.2.3 to 26.0.0
    xobotyi authored Jun 10, 2020
    Copy the full SHA
    5898281 View commit details
  3. Merge pull request #117 from xobotyi/dependabot/npm_and_yarn/rollup-2…

    ….15.0
    
    build(deps-dev): bump rollup from 2.11.2 to 2.15.0
    xobotyi authored Jun 10, 2020
    Copy the full SHA
    523474f View commit details
  4. Merge pull request #116 from xobotyi/dependabot/npm_and_yarn/eslint-7…

    ….2.0
    
    build(deps-dev): bump eslint from 7.1.0 to 7.2.0
    xobotyi authored Jun 10, 2020
    Copy the full SHA
    eff7386 View commit details
  5. Merge pull request #114 from xobotyi/dependabot/npm_and_yarn/typescri…

    …pt-3.9.5
    
    build(deps-dev): bump typescript from 3.9.3 to 3.9.5
    xobotyi authored Jun 10, 2020
    Copy the full SHA
    164f8dc View commit details
  6. Merge pull request #112 from xobotyi/dependabot/npm_and_yarn/lint-sta…

    …ged-10.2.9
    
    build(deps-dev): bump lint-staged from 10.2.6 to 10.2.9
    xobotyi authored Jun 10, 2020
    Copy the full SHA
    cad004c View commit details
  7. Copy the full SHA
    4cb9904 View commit details
  8. Merge pull request #106 from xobotyi/dependabot/npm_and_yarn/ts-jest-…

    …26.1.0
    
    build(deps-dev): bump ts-jest from 26.0.0 to 26.1.0
    xobotyi authored Jun 10, 2020
    Copy the full SHA
    53ffa77 View commit details

Commits on Jun 15, 2020

  1. build(deps-dev): bump lint-staged from 10.2.9 to 10.2.10

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.9 to 10.2.10.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v10.2.9...v10.2.10)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 15, 2020
    Copy the full SHA
    46fa5b1 View commit details
  2. build(deps-dev): bump rollup from 2.15.0 to 2.16.1

    Bumps [rollup](https://github.com/rollup/rollup) from 2.15.0 to 2.16.1.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.15.0...v2.16.1)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 15, 2020
    Copy the full SHA
    8646e13 View commit details
  3. Copy the full SHA
    f09cde5 View commit details
  4. Copy the full SHA
    c667bfc View commit details

Commits on Jun 18, 2020

  1. build(deps-dev): bump lint-staged from 10.2.10 to 10.2.11

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.10 to 10.2.11.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v10.2.10...v10.2.11)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 18, 2020
    Copy the full SHA
    06e1f96 View commit details
  2. build(deps-dev): bump rollup from 2.16.1 to 2.17.0

    Bumps [rollup](https://github.com/rollup/rollup) from 2.16.1 to 2.17.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.16.1...v2.17.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 18, 2020
    Copy the full SHA
    2a9e822 View commit details
  3. Copy the full SHA
    feefcec View commit details
  4. Copy the full SHA
    a64a442 View commit details

Commits on Jun 22, 2020

  1. build(deps-dev): bump rollup from 2.17.0 to 2.17.1

    Bumps [rollup](https://github.com/rollup/rollup) from 2.17.0 to 2.17.1.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.17.0...v2.17.1)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 22, 2020
    Copy the full SHA
    9944c2f View commit details
  2. Copy the full SHA
    b255a02 View commit details

Commits on Jun 23, 2020

  1. build(deps-dev): bump eslint from 7.2.0 to 7.3.1

    Bumps [eslint](https://github.com/eslint/eslint) from 7.2.0 to 7.3.1.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
    - [Commits](eslint/eslint@v7.2.0...v7.3.1)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 23, 2020
    Copy the full SHA
    8e645de View commit details
  2. Copy the full SHA
    deb897d View commit details
  3. build(deps-dev): bump rollup from 2.17.1 to 2.18.0

    Bumps [rollup](https://github.com/rollup/rollup) from 2.17.1 to 2.18.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v2.17.1...v2.18.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 23, 2020
    Copy the full SHA
    96f6adc View commit details
  4. build(deps-dev): bump semantic-release from 17.0.8 to 17.1.0

    Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.0.8 to 17.1.0.
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v17.0.8...v17.1.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 23, 2020
    Copy the full SHA
    edf57e0 View commit details
  5. Copy the full SHA
    53587b3 View commit details
  6. Copy the full SHA
    d9f2204 View commit details
  7. Copy the full SHA
    588e90b View commit details
  8. Copy the full SHA
    6e51ef1 View commit details

Commits on Jun 24, 2020

  1. build(deps-dev): bump jest from 26.0.1 to 26.1.0

    Bumps [jest](https://github.com/facebook/jest) from 26.0.1 to 26.1.0.
    - [Release notes](https://github.com/facebook/jest/releases)
    - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
    - [Commits](jestjs/jest@v26.0.1...v26.1.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Jun 24, 2020
    Copy the full SHA
    eab5673 View commit details
  2. Copy the full SHA
    2ff4525 View commit details

Commits on Jun 25, 2020

  1. Copy the full SHA
    555abcf View commit details
  2. Copy the full SHA
    f2e1f47 View commit details
Showing with 3,872 additions and 4,220 deletions.
  1. +0 −15 .eslintrc
  2. +21 −0 .eslintrc.js
  3. +9 −0 .github/dependabot.yml
  4. +127 −0 .github/workflows/ci.yml
  5. +3 −1 .gitignore
  6. +4 −0 .husky/commit-msg
  7. +4 −0 .husky/pre-commit
  8. +4 −11 .npmignore
  9. +0 −34 .travis.yml
  10. +7 −0 CHANGELOG.md
  11. +13 −24 README.md
  12. +1 −9 jest.config.js
  13. +45 −48 package.json
  14. +0 −30 rollup.config.js
  15. +9 −9 src/index.ts
  16. +6 −7 tests/index.spec.ts
  17. +20 −0 tsconfig.build.json
  18. +13 −0 tsconfig.eslint.json
  19. +10 −16 tsconfig.json
  20. +3,576 −4,016 yarn.lock
15 changes: 0 additions & 15 deletions .eslintrc

This file was deleted.

21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
extends: ['@xobotyi/eslint-config/base', '@xobotyi/eslint-config/typescript'],
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
},
rules: {
'prefer-rest-params': 'off',
'no-restricted-syntax': ['error', 'FunctionExpression', 'WithStatement'],
'no-param-reassign': 'off',
},
overrides: [
{
files: ['./benchmark/**/*'],
rules: {
'no-console': 'off',
},
},
],
};
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: daily
time: "00:00"
timezone: "Etc/UTC"
rebase-strategy: 'auto'
127 changes: 127 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: "CI"

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0

- uses: c-hive/gha-yarn-cache@v2

- name: "Setup Node.js"
uses: actions/setup-node@v2.3.0
with:
node-version: 15

- name: "Install dependencies"
run: yarn install --frozen-lockfile

- name: "Lint"
run: yarn lint -f @jamesacarr/github-actions

build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0

- uses: c-hive/gha-yarn-cache@v2

- name: "Setup Node.js"
uses: actions/setup-node@v2.3.0
with:
node-version: 15

- name: "Install dependencies"
run: yarn install --frozen-lockfile

- name: "Build"
run: yarn build

test:
name: "Test"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0

- uses: c-hive/gha-yarn-cache@v2

- name: "Setup Node.js"
uses: actions/setup-node@v2.3.0
with:
node-version: 15

- name: "Install dependencies"
run: yarn install --frozen-lockfile

- name: "Test"
run: yarn test:coverage --testLocationInResults --reporters=default --reporters=@jamesacarr/jest-reporter-github-actions

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v2.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: true

dependabot-merge:
name: "Dependabot automerge"
runs-on: ubuntu-latest
needs: [ "test", "build", "lint" ]
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
steps:
- uses: fastify/github-action-merge-dependabot@v2.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

semantic-release:
name: "Release"
runs-on: ubuntu-latest
needs: [ "test", "build", "lint" ]
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
outputs:
new-release-published: ${{ steps.release.outputs.new-release-published }}
steps:
- name: "Checkout"
uses: actions/checkout@v2.3.4
with:
ref: "master"

- uses: c-hive/gha-yarn-cache@v2

- name: "Setup Node.js"
uses: actions/setup-node@v2.3.0
with:
node-version: 15

- name: "Install dependencies"
run: yarn install --frozen-lockfile

- name: "Build package"
run: yarn build

- name: "Release"
id: "release"
uses: codfish/semantic-release-action@v1.9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -2,4 +2,6 @@
package-lock.json
node_modules
coverage
dist
cjs
esm
esnext
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
15 changes: 4 additions & 11 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
.github
coverage
tests
benchmark
src
.idea
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
tsconfig.json
rollup.config.js
*
!/cjs
!/esm
!/esnext
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [3.1.1](https://github.com/xobotyi/await-of/compare/v3.1.0...v3.1.1) (2021-07-21)


### Bug Fixes

* update README.md and gha config ([98d78e2](https://github.com/xobotyi/await-of/commit/98d78e265f0836128450f54c363217efc575d36a))

# [3.1.0](https://github.com/xobotyi/await-of/compare/v3.0.0...v3.1.0) (2020-05-21)


37 changes: 13 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
<div align="center">
<h1>await-of</h1>
<p>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/npm/v/await-of" alt="NPM version"/>
</a>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/travis/xobotyi/await-of" alt="Travis-CI build status"/>
</a>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/npm/dw/await-of" alt="NPM weekly downloads"/>
</a>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/npm/license/await-of" alt="License"/>
</a>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/npm/types/await-of" alt="Types definition"/>
</a>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/codacy/grade/873d863f35924f1cbc15cb3648df42d0" alt="Codacy Code Grade"/>
</a>
<a href="https://www.npmjs.com/package/await-of">
<img src="https://flat.badgen.net/codacy/coverage/873d863f35924f1cbc15cb3648df42d0" alt="Codacy Coverage"/>
</a>
</p>

# await-of

await wrapper for easier errors handling without try-catch

[![NPM Version](https://flat.badgen.net/npm/v/await-of)](https://www.npmjs.com/package/await-of)
[![NPM Downloads](https://flat.badgen.net/npm/dm/await-of)](https://www.npmjs.com/package/await-of)
[![NPM Dependents](https://flat.badgen.net/npm/dependents/await-of)](https://www.npmjs.com/package/await-of)
[![Build](https://img.shields.io/github/workflow/status/xobotyi/await-of/CI?style=flat-square)](https://github.com/xobotyi/await-of/actions)
[![Coverage](https://flat.badgen.net/codecov/c/github/xobotyi/await-of)](https://app.codecov.io/gh/xobotyi/await-of)
[![Types](https://flat.badgen.net/npm/types/await-of)](https://www.npmjs.com/package/await-of)
[![Tree Shaking](https://flat.badgen.net/bundlephobia/tree-shaking/await-of)](https://bundlephobia.com/result?p=await-of)

</div>

---
10 changes: 1 addition & 9 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -2,13 +2,5 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
coverageDirectory: './coverage',
collectCoverage: true,
collectCoverageFrom: ['src/**/*.ts'],
globals: {
'ts-jest': {
diagnostics: {
ignoreCodes: [151001],
},
},
},
collectCoverage: false,
};
Loading