matcher
Here are 103 public repositories matching this topic...
Please describe the minimum necessary steps to reproduce this issue:
The example given in README for API some is not working as intended.
Link to example in REPL
const mm = require('micromatch');
// mm.some(list, patterns[, options]);
console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
// true
console.log(mm.soI have a library that I generate all of my mocks into that is imported in my unit tests. When mocking a protocol, the generated mock object doesn't have an initializer declared. This means is uses the default initializer, which would be fine, except the default init() method is internal. I can get around this by importing my mock library @testable, but I'd suggest that protocol mocks for publi
Hey Miles, you've gone and created a convenient library here that intend to pair with react-syntax-highlighter to do code highlighting from old Wordpress posts in Gatbsy.
Good job!
That being said I have no damn clue how to do something very simple. Replace a tag like a "pre" tag with another tag. Your docs talk about custom matchers but this isn't custom at all... this is the direct use cas
-
Updated
May 2, 2020 - JavaScript
-
Updated
Oct 1, 2019 - JavaScript
-
Updated
Aug 2, 2019 - JavaScript
-
Updated
Jan 5, 2020 - JavaScript
Although the two source streams and the result stream have all a length of 5, an exception is thrown.
Reproduction:
import { cold, hot } from 'jest-marbles'
import { buffer, mergeAll } from 'rxjs/operators'
describe('test', () => {
it('should not fail', () => {
const source1 = cold('AB--|')
const source2 = hot('^-A-|')
expect(source1.pipe(buffer(source2), mergeAl-
Updated
Nov 19, 2018 - Ruby
-
Updated
Sep 6, 2017 - Java
-
Updated
Jun 11, 2017 - Java
-
Updated
Jul 16, 2020 - JavaScript
-
Updated
Aug 15, 2019 - JavaScript
-
Updated
Jul 2, 2020 - JavaScript
-
Updated
Jul 6, 2017 - Clojure
-
Updated
Mar 1, 2016 - LiveScript
-
Updated
Dec 8, 2019 - Go
- It would look elegant if the response was presented using a fade-in animation.
-
Updated
Apr 2, 2020 - Scala
-
Updated
Jul 16, 2020 - JavaScript
Improve this page
Add a description, image, and links to the matcher topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the matcher topic, visit your repo's landing page and select "manage topics."
Would it be possible for Mockk to support "real partial mocks" (as well as "real partial relaxed mocks", via a feature equivalent to Mockito's
thenCallRealMethod()feature.Expected Behavior
You can create a mock that has all functions mocked except for a specified method, via a DSL "an