@coorpacademy/components 10.11.1 → 10.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{molecule → atom}/checkbox-with-title/index.js +0 -0
- package/es/atom/checkbox-with-title/index.js.map +1 -0
- package/es/{molecule → atom}/checkbox-with-title/style.css +0 -0
- package/es/{molecule → atom}/checkbox-with-title/test/fixtures/checked.js +0 -0
- package/es/atom/checkbox-with-title/test/fixtures/checked.js.map +1 -0
- package/es/{molecule → atom}/checkbox-with-title/test/fixtures/unchecked.js +0 -0
- package/es/atom/checkbox-with-title/test/fixtures/unchecked.js.map +1 -0
- package/es/atom/input-checkbox/test/fixtures.js +0 -2
- package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
- package/es/atom/input-switch/test/fixtures.js +0 -10
- package/es/atom/input-switch/test/fixtures.js.map +1 -1
- package/es/atom/input-text/index.js +9 -3
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text/test/fixtures.js +0 -2
- package/es/atom/input-text/test/fixtures.js.map +1 -1
- package/es/atom/input-textarea/test/fixtures.js +0 -4
- package/es/atom/input-textarea/test/fixtures.js.map +1 -1
- package/es/atom/loader/test/fixtures.js +0 -2
- package/es/atom/loader/test/fixtures.js.map +1 -1
- package/es/atom/review-header-step-item/index.js +55 -0
- package/es/atom/review-header-step-item/index.js.map +1 -0
- package/es/atom/review-header-step-item/style.css +71 -0
- package/es/atom/review-header-step-item/test/fixtures/current.js +8 -0
- package/es/atom/review-header-step-item/test/fixtures/current.js.map +1 -0
- package/es/atom/review-header-step-item/test/fixtures/default.js +8 -0
- package/es/atom/review-header-step-item/test/fixtures/default.js.map +1 -0
- package/es/atom/review-header-step-item/test/fixtures/right.js +8 -0
- package/es/atom/review-header-step-item/test/fixtures/right.js.map +1 -0
- package/es/atom/review-header-step-item/test/fixtures/wrong.js +8 -0
- package/es/atom/review-header-step-item/test/fixtures/wrong.js.map +1 -0
- package/es/atom/select/style.css +1 -0
- package/es/atom/select/test/fixtures.js +0 -4
- package/es/atom/select/test/fixtures.js.map +1 -1
- package/es/atom/title/test/fixtures.js +2 -6
- package/es/atom/title/test/fixtures.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures.js +0 -2
- package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/es/molecule/card/test/fixtures.js +0 -6
- package/es/molecule/card/test/fixtures.js.map +1 -1
- package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
- package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/review-banner/style.css +0 -3
- package/es/molecule/input-text-with-titeled-checkbox/index.js +63 -0
- package/es/molecule/input-text-with-titeled-checkbox/index.js.map +1 -0
- package/es/molecule/input-text-with-titeled-checkbox/style.css +3 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js +16 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +1 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js +18 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +1 -0
- package/es/molecule/questions/free-text/test/fixtures.js +2 -4
- package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
- package/es/molecule/review-correction-popin/style.css +4 -0
- package/es/molecule/review-header-steps/index.js +26 -0
- package/es/molecule/review-header-steps/index.js.map +1 -0
- package/es/molecule/review-header-steps/style.css +6 -0
- package/es/molecule/review-header-steps/test/fixtures/all-questions-ok.js +26 -0
- package/es/molecule/review-header-steps/test/fixtures/all-questions-ok.js.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js +26 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-wrong.js +26 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-wrong.js.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/first-question-current-right.js +26 -0
- package/es/molecule/review-header-steps/test/fixtures/first-question-current-right.js.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/no-answered-question.js +26 -0
- package/es/molecule/review-header-steps/test/fixtures/no-answered-question.js.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/question-to-repeat.js +26 -0
- package/es/molecule/review-header-steps/test/fixtures/question-to-repeat.js.map +1 -0
- package/es/molecule/search/test/fixtures.js +15 -0
- package/es/molecule/search/test/fixtures.js.map +1 -0
- package/es/molecule/select-multiple/test/fixtures.js +0 -8
- package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -4
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
- package/es/organism/brand-dashboard/test/fixtures.js +10 -2
- package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
- package/es/organism/brand-form/test/fixtures.js +0 -2
- package/es/organism/brand-form/test/fixtures.js.map +1 -1
- package/es/organism/wizard-contents/style.css +0 -1
- package/es/template/app-player/popin-end/test/fixtures.js +0 -2
- package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures.js +2 -24
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/{molecule → atom}/checkbox-with-title/index.js +0 -0
- package/lib/atom/checkbox-with-title/index.js.map +1 -0
- package/lib/{molecule → atom}/checkbox-with-title/style.css +0 -0
- package/lib/{molecule → atom}/checkbox-with-title/test/fixtures/checked.js +0 -0
- package/lib/atom/checkbox-with-title/test/fixtures/checked.js.map +1 -0
- package/lib/{molecule → atom}/checkbox-with-title/test/fixtures/unchecked.js +0 -0
- package/lib/atom/checkbox-with-title/test/fixtures/unchecked.js.map +1 -0
- package/lib/atom/input-checkbox/test/fixtures.js +0 -3
- package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
- package/lib/atom/input-switch/test/fixtures.js +0 -15
- package/lib/atom/input-switch/test/fixtures.js.map +1 -1
- package/lib/atom/input-text/index.js +9 -3
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text/test/fixtures.js +0 -3
- package/lib/atom/input-text/test/fixtures.js.map +1 -1
- package/lib/atom/input-textarea/test/fixtures.js +0 -6
- package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
- package/lib/atom/loader/test/fixtures.js +0 -3
- package/lib/atom/loader/test/fixtures.js.map +1 -1
- package/lib/atom/review-header-step-item/index.js +67 -0
- package/lib/atom/review-header-step-item/index.js.map +1 -0
- package/lib/atom/review-header-step-item/style.css +71 -0
- package/lib/atom/review-header-step-item/test/fixtures/current.js +13 -0
- package/lib/atom/review-header-step-item/test/fixtures/current.js.map +1 -0
- package/lib/atom/review-header-step-item/test/fixtures/default.js +13 -0
- package/lib/atom/review-header-step-item/test/fixtures/default.js.map +1 -0
- package/lib/atom/review-header-step-item/test/fixtures/right.js +13 -0
- package/lib/atom/review-header-step-item/test/fixtures/right.js.map +1 -0
- package/lib/atom/review-header-step-item/test/fixtures/wrong.js +13 -0
- package/lib/atom/review-header-step-item/test/fixtures/wrong.js.map +1 -0
- package/lib/atom/select/style.css +1 -0
- package/lib/atom/select/test/fixtures.js +0 -6
- package/lib/atom/select/test/fixtures.js.map +1 -1
- package/lib/atom/title/test/fixtures.js +2 -8
- package/lib/atom/title/test/fixtures.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -3
- package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/lib/molecule/card/test/fixtures.js +0 -9
- package/lib/molecule/card/test/fixtures.js.map +1 -1
- package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
- package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/review-banner/style.css +0 -3
- package/lib/molecule/input-text-with-titeled-checkbox/index.js +75 -0
- package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +1 -0
- package/lib/molecule/input-text-with-titeled-checkbox/style.css +3 -0
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js +21 -0
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +1 -0
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js +23 -0
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +1 -0
- package/lib/molecule/questions/free-text/test/fixtures.js +2 -5
- package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
- package/lib/molecule/review-correction-popin/style.css +4 -0
- package/lib/molecule/review-header-steps/index.js +38 -0
- package/lib/molecule/review-header-steps/index.js.map +1 -0
- package/lib/molecule/review-header-steps/style.css +6 -0
- package/lib/molecule/review-header-steps/test/fixtures/all-questions-ok.js +31 -0
- package/lib/molecule/review-header-steps/test/fixtures/all-questions-ok.js.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js +31 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-wrong.js +31 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-wrong.js.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/first-question-current-right.js +31 -0
- package/lib/molecule/review-header-steps/test/fixtures/first-question-current-right.js.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/no-answered-question.js +31 -0
- package/lib/molecule/review-header-steps/test/fixtures/no-answered-question.js.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/question-to-repeat.js +31 -0
- package/lib/molecule/review-header-steps/test/fixtures/question-to-repeat.js.map +1 -0
- package/lib/molecule/search/test/fixtures.js +25 -0
- package/lib/molecule/search/test/fixtures.js.map +1 -0
- package/lib/molecule/select-multiple/test/fixtures.js +0 -12
- package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -6
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
- package/lib/organism/brand-dashboard/test/fixtures.js +14 -2
- package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
- package/lib/organism/brand-form/test/fixtures.js +0 -3
- package/lib/organism/brand-form/test/fixtures.js.map +1 -1
- package/lib/organism/wizard-contents/style.css +0 -1
- package/lib/template/app-player/popin-end/test/fixtures.js +0 -3
- package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +2 -35
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/package.json +2 -2
- package/es/atom/button-link/test/fixtures.js +0 -31
- package/es/atom/button-link/test/fixtures.js.map +0 -1
- package/es/atom/button-link-icon-only/test/fixtures.js +0 -21
- package/es/atom/button-link-icon-only/test/fixtures.js.map +0 -1
- package/es/atom/button-menu/test/fixtures.js +0 -15
- package/es/atom/button-menu/test/fixtures.js.map +0 -1
- package/es/atom/card-image-preview/test/fixtures.js +0 -15
- package/es/atom/card-image-preview/test/fixtures.js.map +0 -1
- package/es/atom/chips/test/fixtures.js +0 -17
- package/es/atom/chips/test/fixtures.js.map +0 -1
- package/es/atom/content-badge/test/fixtures.js +0 -29
- package/es/atom/content-badge/test/fixtures.js.map +0 -1
- package/es/atom/empty-search-result/test/fixtures.js +0 -13
- package/es/atom/empty-search-result/test/fixtures.js.map +0 -1
- package/es/atom/input-search/test/fixtures.js +0 -19
- package/es/atom/input-search/test/fixtures.js.map +0 -1
- package/es/atom/tag/test/fixtures.js +0 -21
- package/es/atom/tag/test/fixtures.js.map +0 -1
- package/es/atom/wizard-steps/test/fixtures.js +0 -17
- package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
- package/es/molecule/banner/test/fixtures.js +0 -23
- package/es/molecule/banner/test/fixtures.js.map +0 -1
- package/es/molecule/bullet-point-menu-button/test/fixtures.js +0 -15
- package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
- package/es/molecule/checkbox-with-title/index.js.map +0 -1
- package/es/molecule/checkbox-with-title/test/fixtures/checked.js.map +0 -1
- package/es/molecule/checkbox-with-title/test/fixtures/unchecked.js.map +0 -1
- package/es/molecule/cm-popin/test/fixtures.js +0 -17
- package/es/molecule/cm-popin/test/fixtures.js.map +0 -1
- package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
- package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
- package/es/molecule/course-section/test/fixtures.js +0 -15
- package/es/molecule/course-section/test/fixtures.js.map +0 -1
- package/es/molecule/course-sections/test/fixtures.js +0 -15
- package/es/molecule/course-sections/test/fixtures.js.map +0 -1
- package/es/molecule/draggable/test/fixtures.js +0 -13
- package/es/molecule/draggable/test/fixtures.js.map +0 -1
- package/es/molecule/draggable-list/test/fixtures.js +0 -15
- package/es/molecule/draggable-list/test/fixtures.js.map +0 -1
- package/es/molecule/popin/test/fixtures.js +0 -21
- package/es/molecule/popin/test/fixtures.js.map +0 -1
- package/es/molecule/quick-access-card/test/fixtures.js +0 -21
- package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
- package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
- package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
- package/es/molecule/vertical-tabs/test/fixtures.js +0 -17
- package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
- package/es/molecule/wizard-summary/test/fixtures.js +0 -23
- package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
- package/es/organism/brand-analytics/test/fixtures.js +0 -23
- package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
- package/es/organism/content-translation/test/fixtures.js +0 -15
- package/es/organism/content-translation/test/fixtures.js.map +0 -1
- package/es/organism/course-selection/test/fixtures.js +0 -23
- package/es/organism/course-selection/test/fixtures.js.map +0 -1
- package/es/organism/list-item/test/fixtures.js +0 -19
- package/es/organism/list-item/test/fixtures.js.map +0 -1
- package/es/organism/list-items/test/fixtures.js +0 -17
- package/es/organism/list-items/test/fixtures.js.map +0 -1
- package/es/organism/playlist-translation/test/fixtures.js +0 -15
- package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
- package/es/organism/search-and-chips-results/test/fixtures.js +0 -21
- package/es/organism/search-and-chips-results/test/fixtures.js.map +0 -1
- package/es/organism/wizard-contents/test/fixtures.js +0 -23
- package/es/organism/wizard-contents/test/fixtures.js.map +0 -1
- package/lib/atom/button-link/test/fixtures.js +0 -49
- package/lib/atom/button-link/test/fixtures.js.map +0 -1
- package/lib/atom/button-link-icon-only/test/fixtures.js +0 -34
- package/lib/atom/button-link-icon-only/test/fixtures.js.map +0 -1
- package/lib/atom/button-menu/test/fixtures.js +0 -25
- package/lib/atom/button-menu/test/fixtures.js.map +0 -1
- package/lib/atom/card-image-preview/test/fixtures.js +0 -25
- package/lib/atom/card-image-preview/test/fixtures.js.map +0 -1
- package/lib/atom/chips/test/fixtures.js +0 -28
- package/lib/atom/chips/test/fixtures.js.map +0 -1
- package/lib/atom/content-badge/test/fixtures.js +0 -46
- package/lib/atom/content-badge/test/fixtures.js.map +0 -1
- package/lib/atom/empty-search-result/test/fixtures.js +0 -22
- package/lib/atom/empty-search-result/test/fixtures.js.map +0 -1
- package/lib/atom/input-search/test/fixtures.js +0 -31
- package/lib/atom/input-search/test/fixtures.js.map +0 -1
- package/lib/atom/tag/test/fixtures.js +0 -34
- package/lib/atom/tag/test/fixtures.js.map +0 -1
- package/lib/atom/wizard-steps/test/fixtures.js +0 -28
- package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
- package/lib/molecule/banner/test/fixtures.js +0 -37
- package/lib/molecule/banner/test/fixtures.js.map +0 -1
- package/lib/molecule/bullet-point-menu-button/test/fixtures.js +0 -25
- package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
- package/lib/molecule/checkbox-with-title/index.js.map +0 -1
- package/lib/molecule/checkbox-with-title/test/fixtures/checked.js.map +0 -1
- package/lib/molecule/checkbox-with-title/test/fixtures/unchecked.js.map +0 -1
- package/lib/molecule/cm-popin/test/fixtures.js +0 -28
- package/lib/molecule/cm-popin/test/fixtures.js.map +0 -1
- package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
- package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
- package/lib/molecule/course-section/test/fixtures.js +0 -25
- package/lib/molecule/course-section/test/fixtures.js.map +0 -1
- package/lib/molecule/course-sections/test/fixtures.js +0 -25
- package/lib/molecule/course-sections/test/fixtures.js.map +0 -1
- package/lib/molecule/draggable/test/fixtures.js +0 -22
- package/lib/molecule/draggable/test/fixtures.js.map +0 -1
- package/lib/molecule/draggable-list/test/fixtures.js +0 -25
- package/lib/molecule/draggable-list/test/fixtures.js.map +0 -1
- package/lib/molecule/popin/test/fixtures.js +0 -34
- package/lib/molecule/popin/test/fixtures.js.map +0 -1
- package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
- package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
- package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
- package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
- package/lib/molecule/vertical-tabs/test/fixtures.js +0 -28
- package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
- package/lib/molecule/wizard-summary/test/fixtures.js +0 -37
- package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
- package/lib/organism/brand-analytics/test/fixtures.js +0 -37
- package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
- package/lib/organism/content-translation/test/fixtures.js +0 -25
- package/lib/organism/content-translation/test/fixtures.js.map +0 -1
- package/lib/organism/course-selection/test/fixtures.js +0 -37
- package/lib/organism/course-selection/test/fixtures.js.map +0 -1
- package/lib/organism/list-item/test/fixtures.js +0 -31
- package/lib/organism/list-item/test/fixtures.js.map +0 -1
- package/lib/organism/list-items/test/fixtures.js +0 -28
- package/lib/organism/list-items/test/fixtures.js.map +0 -1
- package/lib/organism/playlist-translation/test/fixtures.js +0 -25
- package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
- package/lib/organism/search-and-chips-results/test/fixtures.js +0 -34
- package/lib/organism/search-and-chips-results/test/fixtures.js.map +0 -1
- package/lib/organism/wizard-contents/test/fixtures.js +0 -37
- package/lib/organism/wizard-contents/test/fixtures.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["t","pass","OrganismPlaylistTranslation","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureDelete"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,sEAAL,EAA6EA,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA4BC,SAApC,EAA+C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAAiIO,gBAAjI;AACA,kBAAK,sEAAL,EAA6ED,wBAA7E,EAAmGN,SAAnG,EAAgIQ,eAAhI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _ava = _interopRequireDefault(require("ava"));
|
|
4
|
-
|
|
5
|
-
var _forEach = _interopRequireDefault(require("lodash/forEach"));
|
|
6
|
-
|
|
7
|
-
var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
|
|
8
|
-
|
|
9
|
-
var _ = _interopRequireDefault(require(".."));
|
|
10
|
-
|
|
11
|
-
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
12
|
-
|
|
13
|
-
var _empty = _interopRequireDefault(require("./fixtures/empty"));
|
|
14
|
-
|
|
15
|
-
var _filtered = _interopRequireDefault(require("./fixtures/filtered"));
|
|
16
|
-
|
|
17
|
-
var _sortedSelected = _interopRequireDefault(require("./fixtures/sorted-selected"));
|
|
18
|
-
|
|
19
|
-
var _unsortedSelected = _interopRequireDefault(require("./fixtures/unsorted-selected"));
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
(0, _ava.default)('Organism › OrganismSearchAndChipsResults > should have valid propTypes', t => {
|
|
24
|
-
t.pass();
|
|
25
|
-
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
26
|
-
t.not(value, undefined, `PropType for "Organism.OrganismSearchAndChipsResults.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
27
|
-
});
|
|
28
|
-
});
|
|
29
|
-
(0, _ava.default)('Organism › OrganismSearchAndChipsResults › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
30
|
-
(0, _ava.default)('Organism › OrganismSearchAndChipsResults › Empty › should be rendered', _renderComponent.default, _.default, _empty.default);
|
|
31
|
-
(0, _ava.default)('Organism › OrganismSearchAndChipsResults › Filtered › should be rendered', _renderComponent.default, _.default, _filtered.default);
|
|
32
|
-
(0, _ava.default)('Organism › OrganismSearchAndChipsResults › SortedSelected › should be rendered', _renderComponent.default, _.default, _sortedSelected.default);
|
|
33
|
-
(0, _ava.default)('Organism › OrganismSearchAndChipsResults › UnsortedSelected › should be rendered', _renderComponent.default, _.default, _unsortedSelected.default);
|
|
34
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/search-and-chips-results/test/fixtures.js"],"names":["t","pass","OrganismSearchAndChipsResults","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureEmpty","fixtureFiltered","fixtureSortedSelected","fixtureUnsortedSelected"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wEAAL,EAA+EA,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,yEAAL,EAAgFG,wBAAhF,EAAsGN,SAAtG,EAAqIO,gBAArI;AACA,kBAAK,uEAAL,EAA8ED,wBAA9E,EAAoGN,SAApG,EAAmIQ,cAAnI;AACA,kBAAK,0EAAL,EAAiFF,wBAAjF,EAAuGN,SAAvG,EAAsIS,iBAAtI;AACA,kBAAK,gFAAL,EAAuFH,wBAAvF,EAA6GN,SAA7G,EAA4IU,uBAA5I;AACA,kBAAK,kFAAL,EAAyFJ,wBAAzF,EAA+GN,SAA/G,EAA8IW,yBAA9I","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismSearchAndChipsResults from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureFiltered from './fixtures/filtered';\nimport fixtureSortedSelected from './fixtures/sorted-selected';\nimport fixtureUnsortedSelected from './fixtures/unsorted-selected';\n\ntest('Organism › OrganismSearchAndChipsResults > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismSearchAndChipsResults.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismSearchAndChipsResults.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismSearchAndChipsResults › Default › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureDefault);\ntest('Organism › OrganismSearchAndChipsResults › Empty › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureEmpty);\ntest('Organism › OrganismSearchAndChipsResults › Filtered › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureFiltered);\ntest('Organism › OrganismSearchAndChipsResults › SortedSelected › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureSortedSelected);\ntest('Organism › OrganismSearchAndChipsResults › UnsortedSelected › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureUnsortedSelected);\n"],"file":"fixtures.js"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _ava = _interopRequireDefault(require("ava"));
|
|
4
|
-
|
|
5
|
-
var _forEach = _interopRequireDefault(require("lodash/forEach"));
|
|
6
|
-
|
|
7
|
-
var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
|
|
8
|
-
|
|
9
|
-
var _ = _interopRequireDefault(require(".."));
|
|
10
|
-
|
|
11
|
-
var _playlistAddCoursesCreate = _interopRequireDefault(require("./fixtures/playlist-add-courses-create"));
|
|
12
|
-
|
|
13
|
-
var _playlistGeneralSettingsCreate = _interopRequireDefault(require("./fixtures/playlist-general-settings-create"));
|
|
14
|
-
|
|
15
|
-
var _playlistGeneralSettingsEdit = _interopRequireDefault(require("./fixtures/playlist-general-settings-edit"));
|
|
16
|
-
|
|
17
|
-
var _playlistOrganizeCourses = _interopRequireDefault(require("./fixtures/playlist-organize-courses"));
|
|
18
|
-
|
|
19
|
-
var _playlistPopulationsCreate = _interopRequireDefault(require("./fixtures/playlist-populations-create"));
|
|
20
|
-
|
|
21
|
-
var _playlistTranslateEdit = _interopRequireDefault(require("./fixtures/playlist-translate-edit"));
|
|
22
|
-
|
|
23
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
-
|
|
25
|
-
(0, _ava.default)('Organism › OrganismWizardContents > should have valid propTypes', t => {
|
|
26
|
-
t.pass();
|
|
27
|
-
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
28
|
-
t.not(value, undefined, `PropType for "Organism.OrganismWizardContents.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
(0, _ava.default)('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', _renderComponent.default, _.default, _playlistAddCoursesCreate.default);
|
|
32
|
-
(0, _ava.default)('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', _renderComponent.default, _.default, _playlistGeneralSettingsCreate.default);
|
|
33
|
-
(0, _ava.default)('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', _renderComponent.default, _.default, _playlistGeneralSettingsEdit.default);
|
|
34
|
-
(0, _ava.default)('Organism › OrganismWizardContents › PlaylistOrganizeCourses › should be rendered', _renderComponent.default, _.default, _playlistOrganizeCourses.default);
|
|
35
|
-
(0, _ava.default)('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', _renderComponent.default, _.default, _playlistPopulationsCreate.default);
|
|
36
|
-
(0, _ava.default)('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', _renderComponent.default, _.default, _playlistTranslateEdit.default);
|
|
37
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/wizard-contents/test/fixtures.js"],"names":["t","pass","OrganismWizardContents","propTypes","value","key","not","undefined","renderComponentMacro","fixturePlaylistAddCoursesCreate","fixturePlaylistGeneralSettingsCreate","fixturePlaylistGeneralSettingsEdit","fixturePlaylistOrganizeCourses","fixturePlaylistPopulationsCreate","fixturePlaylistTranslateEdit"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,mFAAL,EAA0FG,wBAA1F,EAAgHN,SAAhH,EAAwIO,iCAAxI;AACA,kBAAK,wFAAL,EAA+FD,wBAA/F,EAAqHN,SAArH,EAA6IQ,sCAA7I;AACA,kBAAK,sFAAL,EAA6FF,wBAA7F,EAAmHN,SAAnH,EAA2IS,oCAA3I;AACA,kBAAK,kFAAL,EAAyFH,wBAAzF,EAA+GN,SAA/G,EAAuIU,gCAAvI;AACA,kBAAK,oFAAL,EAA2FJ,wBAA3F,EAAiHN,SAAjH,EAAyIW,kCAAzI;AACA,kBAAK,gFAAL,EAAuFL,wBAAvF,EAA6GN,SAA7G,EAAqIY,8BAArI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismWizardContents from '..';\nimport fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';\nimport fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';\nimport fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';\nimport fixturePlaylistOrganizeCourses from './fixtures/playlist-organize-courses';\nimport fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';\nimport fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';\n\ntest('Organism › OrganismWizardContents > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismWizardContents.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismWizardContents.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);\ntest('Organism › OrganismWizardContents › PlaylistOrganizeCourses › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistOrganizeCourses);\ntest('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);\ntest('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);\n"],"file":"fixtures.js"}
|