From b4155500afe2903d397b2b6a39ac8dec4fd90ff3 Mon Sep 17 00:00:00 2001 From: Tim Kindberg Date: Mon, 18 Jan 2021 14:09:12 -0500 Subject: [PATCH] Add ThoughtWorks Adopt Badge --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5441db1..c5461b9 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ [![codecov](https://codecov.io/gh/timkindberg/jest-when/branch/master/graph/badge.svg)](https://codecov.io/gh/timkindberg/jest-when) [![GitHub license](https://img.shields.io/github/license/timkindberg/jest-when.svg)](https://github.com/timkindberg/jest-when/blob/master/LICENSE) [![npm](https://img.shields.io/npm/v/jest-when.svg)](https://www.npmjs.com/package/jest-when) +[![ThoughtWorks Tech Radar 2020 | Adopt](https://img.shields.io/badge/Tech%20Radar-Adopt-b3005d)](https://www.thoughtworks.com/radar/languages-and-frameworks?blipid=201911030) -An extended, sugary way to mock return values for specific arguments only +Specify dynamic return values for specifically matched mocked function arguments. Flexible matchers. Feels like canonical jest syntax. -> Many thanks to @jonasholtkamp. He forked this repo when I was inactive and stewarded several key features and bug fixes! +ThoughtWorks says: +> jest-when is a lightweight JavaScript library that complements Jest by matching mock function call arguments. Jest is a great tool for testing the stack; jest-when allows you to expect specific arguments for mock functions which enables you to write more robust unit tests of modules with many dependencies. It's easy to use and provides great support for multiple matchers, which is why our teams have made jest-when their default choice for mocking in this space. ### Features `jest-when` allows you to use a set of the original @@ -259,6 +261,7 @@ Thanks to [@roaclark](https://github.com/roaclark). ### Contributors (in order of contribution) * [@timkindberg](https://github.com/timkindberg/) (original author) * [@jonasholtkamp](https://github.com/jonasholtkamp) (forked @ https://github.com/jonasholtkamp/jest-when-xt) +> Many thanks to @jonasholtkamp. He forked this repo when I was inactive and stewarded several key features and bug fixes! * [@fkloes](https://github.com/fkloes) * [@danielhusar](https://github.com/danielhusar) * [@idan-at](https://github.com/idan-at)