diff --git a/modules/home/components/__test__/SideProjects.spec.tsx b/modules/home/components/__test__/SideProjects.spec.tsx new file mode 100644 index 00000000..d7d90b5a --- /dev/null +++ b/modules/home/components/__test__/SideProjects.spec.tsx @@ -0,0 +1,12 @@ +import * as React from 'react' +import { mountWithTheme } from '~/modules/core/utils/withThemeProviders' +import SideProjects from '~/modules/home/components/SideProjects' + +describe('SideProjects', () => { + + it('should render without throwing an error', function () { + const wrap = mountWithTheme() + expect(wrap).toMatchSnapshot() + }) + +}) \ No newline at end of file diff --git a/modules/home/components/__test__/__snapshots__/Experiences.spec.tsx.snap b/modules/home/components/__test__/__snapshots__/Experiences.spec.tsx.snap index 61d02038..c42f26b6 100644 --- a/modules/home/components/__test__/__snapshots__/Experiences.spec.tsx.snap +++ b/modules/home/components/__test__/__snapshots__/Experiences.spec.tsx.snap @@ -668,300 +668,6 @@ exports[`Experiences should render without throwing an error 1`] = ` - -
- - -
- -
    - - -
  • - - - -
    - - - - - <h4 - className="Title-sc-1d79yk1-0 cRQkWu" - > - <Translate - id="Exp: SmartApp Title" - > - <WrappedTranslate - context={ - Object { - "activeLanguage": undefined, - "addTranslation": [Function], - "addTranslationForLanguage": [Function], - "defaultLanguage": undefined, - "ignoreTranslateChildren": false, - "initialize": [Function], - "languages": Array [], - "renderToStaticMarkup": false, - "setActiveLanguage": [Function], - "translate": [Function], - } - } - id="Exp: SmartApp Title" - > - Missing translationId: Exp: SmartApp Title for language: \${ languageCode } - </WrappedTranslate> - </Translate> - </h4> - - -

    - - - Missing translationId: Exp: SmartApp Desc for language: \${ languageCode } - - -

    -
    - -

    - - - - - Missing translationId: Exp: SmartApp Skill for language: \${ languageCode } - - - - -

    -
    -
  • -
    -
    -
-
-
- - -
- -
    - - -
  • - - - -
    - - - - - <h4 - className="Title-sc-1d79yk1-0 cRQkWu" - > - <Translate - id="Exp: Brand360 Title" - > - <WrappedTranslate - context={ - Object { - "activeLanguage": undefined, - "addTranslation": [Function], - "addTranslationForLanguage": [Function], - "defaultLanguage": undefined, - "ignoreTranslateChildren": false, - "initialize": [Function], - "languages": Array [], - "renderToStaticMarkup": false, - "setActiveLanguage": [Function], - "translate": [Function], - } - } - id="Exp: Brand360 Title" - > - Missing translationId: Exp: Brand360 Title for language: \${ languageCode } - </WrappedTranslate> - </Translate> - </h4> - - -

    - - - Missing translationId: Exp: Brand360 Desc for language: \${ languageCode } - - -

    -
    - -

    - - - - - Missing translationId: Exp: Brand360 Skill for language: \${ languageCode } - - - - -

    -
    -
  • -
    -
    -
-
-
- -
-
-
diff --git a/modules/home/components/__test__/__snapshots__/SideProjects.spec.tsx.snap b/modules/home/components/__test__/__snapshots__/SideProjects.spec.tsx.snap new file mode 100644 index 00000000..73535c3d --- /dev/null +++ b/modules/home/components/__test__/__snapshots__/SideProjects.spec.tsx.snap @@ -0,0 +1,668 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`SideProjects should render without throwing an error 1`] = ` + + + +
+ +
+
+ +
+

+ + + Missing translationId: SideProjects: Title for language: \${ languageCode } + + +

+

+ + + Missing translationId: SideProjects: SubTitle for language: \${ languageCode } + + +

+
+
+
+ +
+ + +
+ +
    + + +
  • + + + +
    + + + + + <h4 + className="Title-sc-1d79yk1-0 cRQkWu" + > + <Translate + id="Exp: Portfolio Title" + > + <WrappedTranslate + context={ + Object { + "activeLanguage": undefined, + "addTranslation": [Function], + "addTranslationForLanguage": [Function], + "defaultLanguage": undefined, + "ignoreTranslateChildren": false, + "initialize": [Function], + "languages": Array [], + "renderToStaticMarkup": false, + "setActiveLanguage": [Function], + "translate": [Function], + } + } + id="Exp: Portfolio Title" + > + Missing translationId: Exp: Portfolio Title for language: \${ languageCode } + </WrappedTranslate> + </Translate> + </h4> + + +

    + + + Missing translationId: Exp: Portfolio Desc for language: \${ languageCode } + + +

    +
    + +

    + + + + + Missing translationId: Exp: Portfolio Skill for language: \${ languageCode } + + + + +

    +
    +
  • +
    +
    +
+
+
+ + +
+ +
    + + +
  • + + + +
    + + + + + <h4 + className="Title-sc-1d79yk1-0 cRQkWu" + > + <Translate + id="Exp: LiveGuess Title" + > + <WrappedTranslate + context={ + Object { + "activeLanguage": undefined, + "addTranslation": [Function], + "addTranslationForLanguage": [Function], + "defaultLanguage": undefined, + "ignoreTranslateChildren": false, + "initialize": [Function], + "languages": Array [], + "renderToStaticMarkup": false, + "setActiveLanguage": [Function], + "translate": [Function], + } + } + id="Exp: LiveGuess Title" + > + Missing translationId: Exp: LiveGuess Title for language: \${ languageCode } + </WrappedTranslate> + </Translate> + </h4> + + +

    + + + Missing translationId: Exp: LiveGuess Desc for language: \${ languageCode } + + +

    +
    + +

    + + + + + Missing translationId: Exp: LiveGuess Skill for language: \${ languageCode } + + + + +

    +
    +
  • +
    +
    +
+
+
+ +
+
+
+ +
+ + +
+ +
    + + +
  • + + + +
    + + + + + <h4 + className="Title-sc-1d79yk1-0 cRQkWu" + > + <Translate + id="Exp: SmartApp Title" + > + <WrappedTranslate + context={ + Object { + "activeLanguage": undefined, + "addTranslation": [Function], + "addTranslationForLanguage": [Function], + "defaultLanguage": undefined, + "ignoreTranslateChildren": false, + "initialize": [Function], + "languages": Array [], + "renderToStaticMarkup": false, + "setActiveLanguage": [Function], + "translate": [Function], + } + } + id="Exp: SmartApp Title" + > + Missing translationId: Exp: SmartApp Title for language: \${ languageCode } + </WrappedTranslate> + </Translate> + </h4> + + +

    + + + Missing translationId: Exp: SmartApp Desc for language: \${ languageCode } + + +

    +
    + +

    + + + + + Missing translationId: Exp: SmartApp Skill for language: \${ languageCode } + + + + +

    +
    +
  • +
    +
    +
+
+
+ + +
+ +
    + + +
  • + + + +
    + + + + + <h4 + className="Title-sc-1d79yk1-0 cRQkWu" + > + <Translate + id="Exp: Brand360 Title" + > + <WrappedTranslate + context={ + Object { + "activeLanguage": undefined, + "addTranslation": [Function], + "addTranslationForLanguage": [Function], + "defaultLanguage": undefined, + "ignoreTranslateChildren": false, + "initialize": [Function], + "languages": Array [], + "renderToStaticMarkup": false, + "setActiveLanguage": [Function], + "translate": [Function], + } + } + id="Exp: Brand360 Title" + > + Missing translationId: Exp: Brand360 Title for language: \${ languageCode } + </WrappedTranslate> + </Translate> + </h4> + + +

    + + + Missing translationId: Exp: Brand360 Desc for language: \${ languageCode } + + +

    +
    + +

    + + + + + Missing translationId: Exp: Brand360 Skill for language: \${ languageCode } + + + + +

    +
    +
  • +
    +
    +
+
+
+ +
+
+
+
+
+
+
+
+
+`;