Skip to content
#

easy

Here are 712 public repositories matching this topic...

thernstig
thernstig commented Apr 3, 2020

Note: This is fundamentally working as intended, this issue is now about validating the config and providing a sufficient warning.

🐛 Bug Report

The configuration testSequencer (https://jestjs.io/docs/en/configuration#testsequencer-string) is silently ignored in projects (https://jestjs.io/docs/en/configuration#projects-arraystring--projectconfig)

To Reproduce

Run this config

bitfield
bitfield commented Apr 26, 2020

It's common when writing scripts that install or configure things to need input from the user (at a minimum, something like 'Press Enter to continue'; at a maximum, to be able to prompt the user for input, with an optional default value, and return that value).

Let's use this issue to design how that would look, and I invite suggestions!

Martinspire
Martinspire commented Mar 26, 2020

So I'm trying to set up my project with Jest/Spectator as it seems like a very neat way to develop tests but I'm running into issues with the dependencies for my components and services. And getting them mocked entirely isn't the main issue, changing their behavior to do different things is the main issue.

Say I have a service, that returns something, in my current tests that always seems to be

adaptnlp

AKA ShareS - Feature full & Stable ShareX and file server in node. Includes images, videos, code, text, markdown rendering, password protected uploads, logging via discord, administration through Discord, url shortening, and a full front end. Use standalone or via reverse proxy

  • Updated Jun 11, 2020
  • JavaScript

Improve this page

Add a description, image, and links to the easy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the easy topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.