Skip to content
#

matcher

Here are 135 public repositories matching this topic...

mockk

Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by webpack, babel core, yarn, jest, browser-sync, documentation.js, stylelint, nyc, ava, and many others! Please follow micromatch's author: https://github.com/jonschlinkert

  • Updated Mar 24, 2022
  • JavaScript
bbrk24
bbrk24 commented Mar 9, 2022

I'm mocking a protocol with a function that looks like this:

func foo(
    completion: @escaping (
        _ bar: Int,
        _ baz: Int,
        _ qux: Int
    ) -> Void
)

The generated mocks do not properly remove the line breaks before attempting to put it into a single-line string literal, resulting in the errors Unterminated string literal, `Consecutive statement

bug good first issue

Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. Used by GraphQL, Jest, Astro, Snowpack, Storybook, Serverless, fdir, Netlify, AWS Amplify, Revogrid, rollup, routify, open-wc, imba, ava, docusaurus, fast-glob, globby, chokidar, anymatch, cloudflare/miniflare, pts, and more than 5 million projects! Please follow picomatch's author: https://github.com/jonschlinkert

  • Updated Apr 21, 2022
  • JavaScript

Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.

  • Updated Jan 20, 2022
  • JavaScript

Improve this page

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

Learn more