diff --git a/src/__tests__/__snapshots__/index.test.ts.snap b/src/__tests__/__snapshots__/index.test.ts.snap index 8dc7196e..680f648b 100644 --- a/src/__tests__/__snapshots__/index.test.ts.snap +++ b/src/__tests__/__snapshots__/index.test.ts.snap @@ -883,6 +883,30 @@ Object { "defaultProps": Object { "as": "div", }, + "propTypes": Object { + "as": [Function], + "backgroundColor": [Function], + "className": [Function], + "clearfix": [Function], + "clipped": [Function], + "hidden": [Function], + "invisible": [Function], + "italic": [Function], + "marginless": [Function], + "overlay": [Function], + "paddingless": [Function], + "pull": [Function], + "radiusless": [Function], + "responsive": [Function], + "shadowless": [Function], + "srOnly": [Function], + "textAlignment": [Function], + "textColor": [Function], + "textSize": [Function], + "textTransform": [Function], + "textWeight": [Function], + "unselectable": [Function], + }, "render": [Function], }, "Generic": Object { @@ -986,6 +1010,30 @@ Object { "defaultProps": Object { "as": "div", }, + "propTypes": Object { + "as": [Function], + "backgroundColor": [Function], + "className": [Function], + "clearfix": [Function], + "clipped": [Function], + "hidden": [Function], + "invisible": [Function], + "italic": [Function], + "marginless": [Function], + "overlay": [Function], + "paddingless": [Function], + "pull": [Function], + "radiusless": [Function], + "responsive": [Function], + "shadowless": [Function], + "srOnly": [Function], + "textAlignment": [Function], + "textColor": [Function], + "textSize": [Function], + "textTransform": [Function], + "textWeight": [Function], + "unselectable": [Function], + }, "render": [Function], }, "Foot": Object { @@ -993,6 +1041,30 @@ Object { "defaultProps": Object { "as": "div", }, + "propTypes": Object { + "as": [Function], + "backgroundColor": [Function], + "className": [Function], + "clearfix": [Function], + "clipped": [Function], + "hidden": [Function], + "invisible": [Function], + "italic": [Function], + "marginless": [Function], + "overlay": [Function], + "paddingless": [Function], + "pull": [Function], + "radiusless": [Function], + "responsive": [Function], + "shadowless": [Function], + "srOnly": [Function], + "textAlignment": [Function], + "textColor": [Function], + "textSize": [Function], + "textTransform": [Function], + "textWeight": [Function], + "unselectable": [Function], + }, "render": [Function], }, "Head": Object { @@ -1000,11 +1072,62 @@ Object { "defaultProps": Object { "as": "div", }, + "propTypes": Object { + "as": [Function], + "backgroundColor": [Function], + "className": [Function], + "clearfix": [Function], + "clipped": [Function], + "hidden": [Function], + "invisible": [Function], + "italic": [Function], + "marginless": [Function], + "overlay": [Function], + "paddingless": [Function], + "pull": [Function], + "radiusless": [Function], + "responsive": [Function], + "shadowless": [Function], + "srOnly": [Function], + "textAlignment": [Function], + "textColor": [Function], + "textSize": [Function], + "textTransform": [Function], + "textWeight": [Function], + "unselectable": [Function], + }, "render": [Function], }, "defaultProps": Object { "as": "section", }, + "propTypes": Object { + "as": [Function], + "backgroundColor": [Function], + "className": [Function], + "clearfix": [Function], + "clipped": [Function], + "color": [Function], + "gradient": [Function], + "hidden": [Function], + "invisible": [Function], + "italic": [Function], + "marginless": [Function], + "overlay": [Function], + "paddingless": [Function], + "pull": [Function], + "radiusless": [Function], + "responsive": [Function], + "shadowless": [Function], + "size": [Function], + "srOnly": [Function], + "textAlignment": [Function], + "textColor": [Function], + "textSize": [Function], + "textTransform": [Function], + "textWeight": [Function], + "unselectable": [Function], + }, "render": [Function], }, "Highlight": Object { @@ -1725,6 +1848,31 @@ Object { "defaultProps": Object { "as": "section", }, + "propTypes": Object { + "as": [Function], + "backgroundColor": [Function], + "className": [Function], + "clearfix": [Function], + "clipped": [Function], + "hidden": [Function], + "invisible": [Function], + "italic": [Function], + "marginless": [Function], + "overlay": [Function], + "paddingless": [Function], + "pull": [Function], + "radiusless": [Function], + "responsive": [Function], + "shadowless": [Function], + "size": [Function], + "srOnly": [Function], + "textAlignment": [Function], + "textColor": [Function], + "textSize": [Function], + "textTransform": [Function], + "textWeight": [Function], + "unselectable": [Function], + }, "render": [Function], }, "Select": Object { diff --git a/src/layout/footer/__tests__/footer.test.tsx b/src/layout/footer/__tests__/footer.test.tsx index 6fbeca8d..8b80398f 100644 --- a/src/layout/footer/__tests__/footer.test.tsx +++ b/src/layout/footer/__tests__/footer.test.tsx @@ -3,7 +3,7 @@ import React from "react"; import { Footer } from "../footer"; -import { hasProperties } from "@/__tests__/testing"; +import { hasProperties, testGenericPropTypes } from "@/__tests__/testing"; describe("Footer component", () => { hasProperties(Footer, { @@ -46,4 +46,9 @@ describe("Footer component", () => { const wrapper = Enzyme.shallow(