Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@uifabric/test-utilities

microsoft134MIT7.3.5TypeScript support: included

Utilities used when testing components.

readme

@uifabric/test-utilities

Provides a set of common test utilities for testing code within the Fluent UI React repo.

API

safeCreate(jsxContent, callback): void - Abstraction on create method in the react-test-renderer package which will auto unmount after executing the given callback.

Example:

safeCreate(<Foo />, foo => {
  // assert things about foo
});

safeMount(jsxContent, callback): void - Abstraction on mount method in enzyme package which will auto unmount after executing the given callback.

Example:

safeMount(<Foo />, foo => {
  // assert things about foo
});

changelog

Change Log - @uifabric/test-utilities

This log was last generated on Mon, 31 Oct 2022 12:21:19 GMT and should not be manually modified.

7.3.5

Mon, 31 Oct 2022 12:21:19 GMT Compare changes

Patches

7.3.4

Fri, 30 Sep 2022 21:44:22 GMT Compare changes

Patches

7.3.3

Thu, 01 Sep 2022 23:27:06 GMT Compare changes

Patches

7.3.2

Thu, 19 May 2022 12:29:07 GMT Compare changes

Patches

7.3.0

Thu, 17 Sep 2020 23:15:07 GMT Compare changes

Minor changes

7.2.2

Wed, 16 Sep 2020 12:27:22 GMT Compare changes

Patches

7.1.0

Wed, 19 Aug 2020 12:44:33 GMT Compare changes

Minor changes

7.0.32

Mon, 13 Jul 2020 23:14:39 GMT Compare changes

Patches

7.0.31

Fri, 03 Jul 2020 12:36:49 GMT Compare changes

Patches

7.0.27

Tue, 16 Jun 2020 17:35:36 GMT Compare changes

Patches

7.0.21

Thu, 07 May 2020 01:06:55 GMT Compare changes

Patches

7.0.17

Thu, 16 Apr 2020 04:01:45 GMT Compare changes

Patches

7.0.15

Wed, 25 Mar 2020 12:30:04 GMT

Patches

Patches

  • Replace OfficeDev/office-ui-fabric-react with microsoft/fluentui (elcraig@microsoft.com)

    7.0.6

    Wed, 04 Sep 2019 04:09:58 GMT

Patches

Patches

7.0.4

Wed, 17 Jul 2019 18:58:57 GMT

Patches

  • Adding @types/react and @types/react-dom to package.json that have peer dependencies on react and react-dom. (makotom@microsoft.com)

7.0.3

Mon, 01 Jul 2019 18:51:42 GMT

Patches

  • adds react-app-polyfill

7.0.2

Fri, 14 Jun 2019 12:26:30 GMT

Patches

  • Fix missing assets in production build.

7.0.1

Thu, 13 Jun 2019 00:24:48 GMT

Patches

  • Initial release of Fabric 7

6.0.5

Wed, 12 Jun 2019 00:42:26 GMT

Patches

  • Update and dedupe React deps.

6.0.4

Tue, 14 May 2019 07:50:30 GMT

Patches

  • Update Fabric assets link

6.0.3

Tue, 02 Apr 2019 00:38:15 GMT

Patches

  • Use ^ ranges instead of >=

6.0.2

Wed, 27 Mar 2019 12:34:02 GMT

Patches

  • add api file generated by api-extractor 7

6.0.1

Fri, 09 Nov 2018 13:32:57 GMT

Patches

  • Publishing bits.