Skip to content
#

mocha

Here are 2,870 public repositories matching this topic...

bethesque
bethesque commented Jul 22, 2021

Please add support for the following keys to be used in the consumer version selectors when fetching pacts for verification:

{ "deployedOrReleased": true }

{ "deployed": true }

{ "released": true }

{ "environment": "<env name>" }

{ "consumer": "<name>" } // this may already be supported, please add it if not

These keys can be used in various combinations ( eg. `{ "env

guidobouman
guidobouman commented Aug 21, 2019

The and method is not supported by Jest, where Chai does support it.

It should probably cut the assertion in two:

- expect(ticketNumber).to.be.above(0).and.to.be.below(46)
+ expect(ticketNumber).toBeGreaterThan(0)
+ expect(ticketNumber).toBeLessThan(46)

Is this a feasible option for codemods?

If so: I'm willing to work on a PR.

This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp

  • Updated Sep 22, 2021
  • JavaScript
alex996
alex996 commented Oct 5, 2021

To reproduce:

  1. Create a table with a date column (for example, "date_of_birth" date not null)
  2. Make an insert (I'm using mikro-orm and passing in "1983-09-12")
  3. Select the record and log the model object

Expected: dateOfBirth: '1983-09-12' as a String
Actual: dateOfBirth: 1983-09-12T00:00:00.000Z as a Date

When I follow these steps with an actual Postgres

Improve this page

Add a description, image, and links to the mocha 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 mocha topic, visit your repo's landing page and select "manage topics."

Learn more