Giter Site home page Giter Site logo

uvu-context-error's Introduction

uvu-context-thrown-error

When using test suites, and a before or before.each throws an error, the only indication of the error being thrown is that the number of tests passed is 0 when there is 1 test in total.

Expected Behavior

The error being thrown should be bubbled up and reported as any other error would be

Reproduction steps

git clone
cd uvu-context-error
pnpm i / npm i / yarn
node index 

Other Information

I get the same outcome whether using uvu as a CLI (like the test script does) or calling the file directly

❯ node index.js
 This suite will not report an error from the before context, just that no tests were ran    (0 / 1)

  Total:     1
  Passed:    0
  Skipped:   0
  Duration:  1.06ms
❯ pnpm test

> [email protected] test ~/uvu-before-fail
> uvu . index\.js

index.js
 This suite will not report an error from the before context, just that no tests were ran    (0 / 1)

  Total:     1
  Passed:    0
  Skipped:   0
  Duration:  0.88ms

uvu-context-error's People

Contributors

jmcdo29 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.