question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Revive create-stream-vs-put-racecondition.js test

See original GitHub issue

create-stream-vs-put-racecondition.js isn’t executed in the test because the runner looks for *-test.js.

It was the same before the changes to allow the typescript to run each test:

levelup/buster.js Line 5 in e152d83

tests: [ 'test/*-test.js' ],

If you add -test to the end, and use levelup(leveldown(location)) instead of levelup(location), it fails.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
vweeverscommented, Oct 8, 2017

@ralphtheninja want to include this in v2? I can take a look if you want

0reactions
vweeverscommented, Oct 10, 2017

👍 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sinon.JS - Standalone test fakes, spies, stubs and mocks for ...
Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.
Read more >
Mocha - the fun, simple, flexible JavaScript test framework
simple, flexible, fun. Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun....
Read more >
Best Practices for Spies, Stubs and Mocks in Sinon.js
Learn about differences between spies, stubs and mocks, when and how to use them, and get a set of best practices to help...
Read more >
nock/nock: HTTP server mocking and expectations ... - GitHub
HTTP server mocking and expectations library for Node.js. Nock can be used to test modules that perform HTTP requests in isolation.
Read more >
aws-sdk-mock - npm
Functions to mock the JavaScript aws-sdk . ... This module was created to help test AWS Lambda functions but can be used in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found