-
Updated
Nov 18, 2020 - Vue
mock
Here are 1,635 public repositories matching this topic...
-
Updated
Nov 25, 2020 - Java
-
Updated
Nov 25, 2020 - JavaScript
-
Updated
Nov 3, 2020 - PHP
-
Updated
Jun 16, 2020 - JavaScript
-
Updated
Oct 26, 2020 - Objective-C
-
Updated
Nov 24, 2020 - TypeScript
I'd like a configuration option to be able to disable the default mock map on this line here and get an error instead:
https://github.com/apollographql/graphql-tools/blob/5c5418cec88f1d5520eccc1d2e6dfaa511547e4d/src/mock.ts#L282
We have tests that use mock data and I'd rather have an explicit error if a value could not be resolved. I find the implicit default value unhelpful in this case and m
-
Updated
Nov 25, 2020 - Kotlin
-
Updated
Mar 31, 2020 - JavaScript
-
Updated
Oct 25, 2020 - JavaScript
It would be nice to start building Pester on PowerShell 7 as well to see if it is compatible and keep it that way. To achieve that we need to research on which build servers v7 is already available. Right now we are building on TravisCI (Linux and MacOS), on AppVeyor (PowerShell 4+) and AzureDevOps (PowerShell 2&3).
Not sure if the build task needs to run on all three platforms, but it would be
-
Updated
May 11, 2020 - Vue
-
Updated
Nov 12, 2020 - TypeScript
-
Updated
Nov 24, 2020 - Python
-
Updated
Jul 27, 2020 - Ruby
I would welcome a feature when, at the same url which is set to respond with OK status, I could have an error response generated with a random seed.
I am developing an Observable pattern to perform a series of retries to call an endpoint, with increasing delay. The problem is that during testing, I cannot really mock up the condition by randomly switching between two mocky.io urls (error and ok
What you did:
Create a route:
/orders/*
then set the delay to 2000ms.
What happened:
route not delayed when hit with another param beside *
/orders/1 not delayed

/orders/900 not delayed
/orders/* delayed
, but it started working again by itself sometime later, so I'm assuming that it was a GH blip.
I find it a little strange that the SPM installation for Cuckoo depends
-
Updated
Nov 20, 2020 - TypeScript
-
Updated
Nov 4, 2020 - Kotlin
-
Updated
Nov 23, 2020 - Go
Improve this page
Add a description, image, and links to the mock topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the mock topic, visit your repo's landing page and select "manage topics."
Context
This isn't really a feature request, as what I need is possible with nock as-is. But I spent several hours searching, reading old issues and searching through the source code to find the solution, so I thought this might help others.
I am testing code that accesses a service that sets the statusMessage of the response, as well as the statusCode. I am using nock to mock the server