Skip to content

Commit 116e5c7

Browse files
authored
Ensure tests follow same naming convention (#20)
1 parent 12ea4f6 commit 116e5c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/index.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ describe("supports inheritance", () => {
389389
expect(container.firstChild).toHaveClass("checkoutButtonAnotherBool");
390390
});
391391

392-
it("variant props should not propagate to the DOM by default", async () => {
392+
it("stops variant props propogating to the DOM by default", async () => {
393393
const Input = styled("input", {
394394
css: "input",
395395
variants: {
@@ -403,14 +403,14 @@ describe("supports inheritance", () => {
403403
expect(container.firstChild).not.toHaveAttribute("big");
404404
});
405405

406-
it("css components should not block intrinsic props that are not styled", async () => {
406+
it("does not block intrinsic props that are not styled", async () => {
407407
const Input = styled("input");
408408
const onChange = jest.fn();
409409
const { container } = render(<Input value="test" onChange={onChange} />);
410410
expect(container.firstChild).toHaveAttribute("value", "test");
411411
});
412412

413-
it("variants should allow intrinsic props to pass through to the DOM", async () => {
413+
it("allows variants to pass intrinsic props through to the DOM", async () => {
414414
const Input = styled("input", {
415415
css: "input",
416416
variants: {
@@ -426,7 +426,7 @@ describe("supports inheritance", () => {
426426
expect(container.firstChild).toHaveAttribute("type", "text");
427427
});
428428

429-
it("variants should allow intrinsic bool props to pass through to the DOM", async () => {
429+
it("allows variants to pass intrinsic bool props through to the DOM", async () => {
430430
const Input = styled("input", {
431431
css: "input",
432432
variants: {

0 commit comments

Comments
 (0)