Skip to content

Commit

Permalink
Add macher extend to allow toHaveStyleRule
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhu2000 committed Feb 21, 2021
1 parent 33d160e commit 25cff86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/sharedSpecs/cssSpecs.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from "react";
import { css } from "@emotion/react";
import { mount } from "enzyme";
import { matchers } from "@emotion/jest";
expect.extend(matchers);

function cssSpecs(Loader: typeof React.Component): void {
describe("css props", () => {
Expand Down

0 comments on commit 25cff86

Please sign in to comment.