@coorpacademy/components 10.0.46 → 10.0.47
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/atom/input-checkbox/test/fixtures.js +0 -2
- package/es/atom/input-checkbox/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/feedback/test/fixtures.js +0 -2
- package/es/molecule/feedback/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/mooc-footer/style.css +1 -2
- package/es/organism/mooc-header/test/fixtures.js +0 -6
- package/es/organism/mooc-header/test/fixtures.js.map +1 -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 +0 -2
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/common/discipline/test/fixtures.js +0 -6
- package/es/template/common/discipline/test/fixtures.js.map +1 -1
- package/es/template/teams-dashboard/test/fixtures.js +0 -2
- package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/lib/atom/input-checkbox/test/fixtures.js +0 -3
- package/lib/atom/input-checkbox/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/feedback/test/fixtures.js +0 -3
- package/lib/molecule/feedback/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/mooc-footer/style.css +1 -2
- package/lib/organism/mooc-header/test/fixtures.js +0 -9
- package/lib/organism/mooc-header/test/fixtures.js.map +1 -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 +0 -3
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures.js +0 -9
- package/lib/template/common/discipline/test/fixtures.js.map +1 -1
- package/lib/template/teams-dashboard/test/fixtures.js +0 -3
- package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/package.json +2 -2
- 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/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/organism/accordion/coorp-manager/part/test/fixtures.js +0 -17
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
- package/es/organism/accordion/coorp-manager/test/fixtures.js +0 -13
- package/es/organism/accordion/coorp-manager/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/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/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/organism/accordion/coorp-manager/part/test/fixtures.js +0 -28
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
- package/lib/organism/accordion/coorp-manager/test/fixtures.js +0 -22
- package/lib/organism/accordion/coorp-manager/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
|
@@ -2,7 +2,6 @@ import test from 'ava';
|
|
|
2
2
|
import forEach from 'lodash/forEach';
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import AtomInputCheckbox from '..';
|
|
5
|
-
import fixtureCheckedDisabled from './fixtures/checked-disabled';
|
|
6
5
|
import fixtureChecked from './fixtures/checked';
|
|
7
6
|
import fixtureDefault from './fixtures/default';
|
|
8
7
|
import fixtureDisabled from './fixtures/disabled';
|
|
@@ -15,7 +14,6 @@ test('Atom › AtomInputCheckbox > should have valid propTypes', t => {
|
|
|
15
14
|
t.not(value, undefined, `PropType for "Atom.AtomInputCheckbox.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
16
15
|
});
|
|
17
16
|
});
|
|
18
|
-
test('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureCheckedDisabled);
|
|
19
17
|
test('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);
|
|
20
18
|
test('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);
|
|
21
19
|
test('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputCheckbox","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputCheckbox","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","fixtureRequired","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,iBAAP,MAA8B,IAA9B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAT,IAAI,CAAC,wDAAD,EAA2DU,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,iBAAiB,CAACS,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGC,cAArG,CAAJ;AACAJ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGE,cAArG,CAAJ;AACAL,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGG,eAAtG,CAAJ;AACAN,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,iBAAhF,EAAmGI,YAAnG,CAAJ;AACAP,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGK,eAAtG,CAAJ;AACAR,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGM,eAAtG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputCheckbox from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureError from './fixtures/error';\nimport fixtureModified from './fixtures/modified';\nimport fixtureRequired from './fixtures/required';\n\ntest('Atom › AtomInputCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);\ntest('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);\ntest('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);\ntest('Atom › AtomInputCheckbox › Error › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureError);\ntest('Atom › AtomInputCheckbox › Modified › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureModified);\ntest('Atom › AtomInputCheckbox › Required › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureRequired);\n"],"file":"fixtures.js"}
|
|
@@ -2,16 +2,12 @@ import test from 'ava';
|
|
|
2
2
|
import forEach from 'lodash/forEach';
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import AtomTitle from '..';
|
|
5
|
-
import
|
|
6
|
-
import fixtureFormGroupTitle from './fixtures/form-group-title';
|
|
7
|
-
import fixturePageTitle from './fixtures/page-title';
|
|
5
|
+
import fixtureFixture from './fixtures/fixture';
|
|
8
6
|
test('Atom › AtomTitle > should have valid propTypes', t => {
|
|
9
7
|
t.pass();
|
|
10
8
|
forEach(AtomTitle.propTypes, (value, key) => {
|
|
11
9
|
t.not(value, undefined, `PropType for "Atom.AtomTitle.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
12
10
|
});
|
|
13
11
|
});
|
|
14
|
-
test('Atom › AtomTitle ›
|
|
15
|
-
test('Atom › AtomTitle › FormGroupTitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitle);
|
|
16
|
-
test('Atom › AtomTitle › PageTitle › should be rendered', renderComponentMacro, AtomTitle, fixturePageTitle);
|
|
12
|
+
test('Atom › AtomTitle › Fixture › should be rendered', renderComponentMacro, AtomTitle, fixtureFixture);
|
|
17
13
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomTitle","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomTitle","fixtureFixture","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,SAAP,MAAsB,IAAtB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,gDAAD,EAAmDK,CAAC,IAAI;AAC1DA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,SAAS,CAACI,SAAX,EAAsB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0CAAyCF,GAAI,mEAAtE;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,iDAAD,EAAoDE,oBAApD,EAA0EC,SAA1E,EAAqFC,cAArF,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomTitle from '..';\nimport fixtureFixture from './fixtures/fixture';\n\ntest('Atom › AtomTitle > should have valid propTypes', t => {\n t.pass();\n forEach(AtomTitle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomTitle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomTitle › Fixture › should be rendered', renderComponentMacro, AtomTitle, fixtureFixture);\n"],"file":"fixtures.js"}
|
|
@@ -9,7 +9,6 @@ import fixtureSuccessExitNode from './fixtures/success-exit-node';
|
|
|
9
9
|
import fixtureSuccessWithTitleAndDescriptionAndAudio from './fixtures/success-with-title-and-description-and-audio';
|
|
10
10
|
import fixtureSuccessWithTitleAndDescriptionAndImage from './fixtures/success-with-title-and-description-and-image';
|
|
11
11
|
import fixtureSuccessWithTitleAndDescriptionAndPdf from './fixtures/success-with-title-and-description-and-pdf';
|
|
12
|
-
import fixtureSuccessWithTitleAndDescriptionAndVideo from './fixtures/success-with-title-and-description-and-video';
|
|
13
12
|
import fixtureSuccessWithTitleAndDescription from './fixtures/success-with-title-and-description';
|
|
14
13
|
test('Molecule › MoleculeFeedback > should have valid propTypes', t => {
|
|
15
14
|
t.pass();
|
|
@@ -24,6 +23,5 @@ test('Molecule › MoleculeFeedback › SuccessExitNode › should be rendered',
|
|
|
24
23
|
test('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndAudio › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndAudio);
|
|
25
24
|
test('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndImage › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndImage);
|
|
26
25
|
test('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndPdf › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndPdf);
|
|
27
|
-
test('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndVideo › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndVideo);
|
|
28
26
|
test('Molecule › MoleculeFeedback › SuccessWithTitleAndDescription › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescription);
|
|
29
27
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/feedback/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeFeedback","fixtureDefault","fixtureFailExitNode","fixtureFailureWithTitleAndDescriptionAndVideo","fixtureSuccessExitNode","fixtureSuccessWithTitleAndDescriptionAndAudio","fixtureSuccessWithTitleAndDescriptionAndImage","fixtureSuccessWithTitleAndDescriptionAndPdf","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/feedback/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeFeedback","fixtureDefault","fixtureFailExitNode","fixtureFailureWithTitleAndDescriptionAndVideo","fixtureSuccessExitNode","fixtureSuccessWithTitleAndDescriptionAndAudio","fixtureSuccessWithTitleAndDescriptionAndImage","fixtureSuccessWithTitleAndDescriptionAndPdf","fixtureSuccessWithTitleAndDescription","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,gBAAP,MAA6B,IAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,2BAAhC;AACA,OAAOC,6CAAP,MAA0D,yDAA1D;AACA,OAAOC,sBAAP,MAAmC,8BAAnC;AACA,OAAOC,6CAAP,MAA0D,yDAA1D;AACA,OAAOC,6CAAP,MAA0D,yDAA1D;AACA,OAAOC,2CAAP,MAAwD,uDAAxD;AACA,OAAOC,qCAAP,MAAkD,+CAAlD;AAEAX,IAAI,CAAC,2DAAD,EAA8DY,CAAC,IAAI;AACrEA,EAAAA,CAAC,CAACC,IAAF;AACAZ,EAAAA,OAAO,CAACE,gBAAgB,CAACW,SAAlB,EAA6B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAClDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,qDAAoDF,GAAI,mEAAjF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAhB,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,gBAArF,EAAuGC,cAAvG,CAAJ;AACAJ,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,gBAA1F,EAA4GE,mBAA5G,CAAJ;AACAL,IAAI,CAAC,2FAAD,EAA8FE,oBAA9F,EAAoHC,gBAApH,EAAsIG,6CAAtI,CAAJ;AACAN,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,gBAA7F,EAA+GI,sBAA/G,CAAJ;AACAP,IAAI,CAAC,2FAAD,EAA8FE,oBAA9F,EAAoHC,gBAApH,EAAsIK,6CAAtI,CAAJ;AACAR,IAAI,CAAC,2FAAD,EAA8FE,oBAA9F,EAAoHC,gBAApH,EAAsIM,6CAAtI,CAAJ;AACAT,IAAI,CAAC,yFAAD,EAA4FE,oBAA5F,EAAkHC,gBAAlH,EAAoIO,2CAApI,CAAJ;AACAV,IAAI,CAAC,mFAAD,EAAsFE,oBAAtF,EAA4GC,gBAA5G,EAA8HQ,qCAA9H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeFeedback from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFailExitNode from './fixtures/fail-exit-node';\nimport fixtureFailureWithTitleAndDescriptionAndVideo from './fixtures/failure-with-title-and-description-and-video';\nimport fixtureSuccessExitNode from './fixtures/success-exit-node';\nimport fixtureSuccessWithTitleAndDescriptionAndAudio from './fixtures/success-with-title-and-description-and-audio';\nimport fixtureSuccessWithTitleAndDescriptionAndImage from './fixtures/success-with-title-and-description-and-image';\nimport fixtureSuccessWithTitleAndDescriptionAndPdf from './fixtures/success-with-title-and-description-and-pdf';\nimport fixtureSuccessWithTitleAndDescription from './fixtures/success-with-title-and-description';\n\ntest('Molecule › MoleculeFeedback > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeFeedback.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeFeedback.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeFeedback › Default › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureDefault);\ntest('Molecule › MoleculeFeedback › FailExitNode › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureFailExitNode);\ntest('Molecule › MoleculeFeedback › FailureWithTitleAndDescriptionAndVideo › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureFailureWithTitleAndDescriptionAndVideo);\ntest('Molecule › MoleculeFeedback › SuccessExitNode › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessExitNode);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndAudio › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndAudio);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndImage › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndImage);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndPdf › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndPdf);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescription › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescription);\n"],"file":"fixtures.js"}
|
|
@@ -3,7 +3,11 @@ import forEach from 'lodash/forEach';
|
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import OrganismBrandDashboard from '..';
|
|
5
5
|
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import
|
|
6
|
+
import fixtureError from './fixtures/error';
|
|
7
|
+
import fixtureLoading from './fixtures/loading';
|
|
8
|
+
import fixtureSelectedError from './fixtures/selected-error';
|
|
9
|
+
import fixtureSelectedLoading from './fixtures/selected-loading';
|
|
10
|
+
import fixtureSelected from './fixtures/selected';
|
|
7
11
|
test('Organism › OrganismBrandDashboard > should have valid propTypes', t => {
|
|
8
12
|
t.pass();
|
|
9
13
|
forEach(OrganismBrandDashboard.propTypes, (value, key) => {
|
|
@@ -11,5 +15,9 @@ test('Organism › OrganismBrandDashboard > should have valid propTypes', t => {
|
|
|
11
15
|
});
|
|
12
16
|
});
|
|
13
17
|
test('Organism › OrganismBrandDashboard › Default › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureDefault);
|
|
14
|
-
test('Organism › OrganismBrandDashboard ›
|
|
18
|
+
test('Organism › OrganismBrandDashboard › Error › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureError);
|
|
19
|
+
test('Organism › OrganismBrandDashboard › Loading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureLoading);
|
|
20
|
+
test('Organism › OrganismBrandDashboard › SelectedError › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedError);
|
|
21
|
+
test('Organism › OrganismBrandDashboard › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedLoading);
|
|
22
|
+
test('Organism › OrganismBrandDashboard › Selected › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelected);
|
|
15
23
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/brand-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandDashboard","fixtureDefault","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/brand-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandDashboard","fixtureDefault","fixtureError","fixtureLoading","fixtureSelectedError","fixtureSelectedLoading","fixtureSelected","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAT,IAAI,CAAC,iEAAD,EAAoEU,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,sBAAsB,CAACS,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHE,YAAjH,CAAJ;AACAL,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHG,cAAnH,CAAJ;AACAN,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHI,oBAAzH,CAAJ;AACAP,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HK,sBAA3H,CAAJ;AACAR,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,sBAA5F,EAAoHM,eAApH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismBrandDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureSelectedError from './fixtures/selected-error';\nimport fixtureSelectedLoading from './fixtures/selected-loading';\nimport fixtureSelected from './fixtures/selected';\n\ntest('Organism › OrganismBrandDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismBrandDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismBrandDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismBrandDashboard › Default › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureDefault);\ntest('Organism › OrganismBrandDashboard › Error › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureError);\ntest('Organism › OrganismBrandDashboard › Loading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureLoading);\ntest('Organism › OrganismBrandDashboard › SelectedError › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedError);\ntest('Organism › OrganismBrandDashboard › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedLoading);\ntest('Organism › OrganismBrandDashboard › Selected › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelected);\n"],"file":"fixtures.js"}
|
|
@@ -6,9 +6,6 @@ import fixtureDefault from './fixtures/default';
|
|
|
6
6
|
import fixtureLinkOnly from './fixtures/link-only';
|
|
7
7
|
import fixtureLoggedWithBattleNotifications from './fixtures/logged-with-battle-notifications';
|
|
8
8
|
import fixtureLogged from './fixtures/logged';
|
|
9
|
-
import fixtureMobileSmallLogoFormat from './fixtures/mobile-small-logo-format';
|
|
10
|
-
import fixtureMobileWideLogoFormat from './fixtures/mobile-wide-logo-format';
|
|
11
|
-
import fixtureOnHeaderActionHandlers from './fixtures/on-header-action-handlers';
|
|
12
9
|
import fixtureTeamsFrench from './fixtures/teams-french';
|
|
13
10
|
import fixtureTeams from './fixtures/teams';
|
|
14
11
|
import fixtureUserChangePassword from './fixtures/user-change-password';
|
|
@@ -22,9 +19,6 @@ test('Organism › OrganismMoocHeader › Default › should be rendered', rende
|
|
|
22
19
|
test('Organism › OrganismMoocHeader › LinkOnly › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLinkOnly);
|
|
23
20
|
test('Organism › OrganismMoocHeader › LoggedWithBattleNotifications › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLoggedWithBattleNotifications);
|
|
24
21
|
test('Organism › OrganismMoocHeader › Logged › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLogged);
|
|
25
|
-
test('Organism › OrganismMoocHeader › MobileSmallLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileSmallLogoFormat);
|
|
26
|
-
test('Organism › OrganismMoocHeader › MobileWideLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileWideLogoFormat);
|
|
27
|
-
test('Organism › OrganismMoocHeader › OnHeaderActionHandlers › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureOnHeaderActionHandlers);
|
|
28
22
|
test('Organism › OrganismMoocHeader › TeamsFrench › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeamsFrench);
|
|
29
23
|
test('Organism › OrganismMoocHeader › Teams › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeams);
|
|
30
24
|
test('Organism › OrganismMoocHeader › UserChangePassword › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureUserChangePassword);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/mooc-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismMoocHeader","fixtureDefault","fixtureLinkOnly","fixtureLoggedWithBattleNotifications","fixtureLogged","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/mooc-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismMoocHeader","fixtureDefault","fixtureLinkOnly","fixtureLoggedWithBattleNotifications","fixtureLogged","fixtureTeamsFrench","fixture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AD,EAA4EE,oBAA5E,EAAkGC,kBAAlG,EAAsHO,yBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismMoocHeader from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLinkOnly from './fixtures/link-only';\nimport fixtureLoggedWithBattleNotifications from './fixtures/logged-with-battle-notifications';\nimport fixtureLogged from './fixtures/logged';\nimport fixtureTeamsFrench from './fixtures/teams-french';\nimport fixtureTeams from './fixtures/teams';\nimport fixtureUserChangePassword from './fixtures/user-change-password';\n\ntest('Organism › OrganismMoocHeader > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismMoocHeader.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismMoocHeader.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismMoocHeader › Default › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureDefault);\ntest('Organism › OrganismMoocHeader › LinkOnly › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLinkOnly);\ntest('Organism › OrganismMoocHeader › LoggedWithBattleNotifications › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLoggedWithBattleNotifications);\ntest('Organism › OrganismMoocHeader › Logged › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLogged);\ntest('Organism › OrganismMoocHeader › TeamsFrench › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeamsFrench);\ntest('Organism › OrganismMoocHeader › Teams › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeams);\ntest('Organism › OrganismMoocHeader › UserChangePassword › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureUserChangePassword);\n"],"file":"fixtures.js"}
|
|
@@ -17,7 +17,6 @@ import fixtureLoading from './fixtures/loading';
|
|
|
17
17
|
import fixtureNegativeRank from './fixtures/negative-rank';
|
|
18
18
|
import fixtureNextCourse from './fixtures/next-course';
|
|
19
19
|
import fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';
|
|
20
|
-
import fixtureNextLevelAdaptiveVideo from './fixtures/next-level-adaptive-video';
|
|
21
20
|
import fixtureSimpleAction from './fixtures/simple-action';
|
|
22
21
|
import fixtureSubscribe from './fixtures/subscribe';
|
|
23
22
|
import fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';
|
|
@@ -43,7 +42,6 @@ test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be
|
|
|
43
42
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);
|
|
44
43
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);
|
|
45
44
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);
|
|
46
|
-
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveVideo › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveVideo);
|
|
47
45
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);
|
|
48
46
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);
|
|
49
47
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateAppPlayerPopinEnd","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateAppPlayerPopinEnd","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,iCAAP,MAA8C,2CAA9C;AACA,OAAOC,gCAAP,MAA6C,wCAA7C;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,WAAP,MAAwB,iBAAxB;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,iBAAP,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;AACAZ,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,yBAApG,EAA+HU,WAA/H,CAAJ;AACAb,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,yBAA7G,EAAwIW,oBAAxI,CAAJ;AACAd,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,yBAAvG,EAAkIY,cAAlI,CAAJ;AACAf,IAAI,CAAC,mFAAD,EAAsFE,oBAAtF,EAA4GC,yBAA5G,EAAuIa,mBAAvI,CAAJ;AACAhB,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,yBAA1G,EAAqIc,iBAArI,CAAJ;AACAjB,IAAI,CAAC,2FAAD,EAA8FE,oBAA9F,EAAoHC,yBAApH,EAA+Ie,2BAA/I,CAAJ;AACAlB,IAAI,CAAC,mFAAD,EAAsFE,oBAAtF,EAA4GC,yBAA5G,EAAuIgB,mBAAvI,CAAJ;AACAnB,IAAI,CAAC,gFAAD,EAAmFE,oBAAnF,EAAyGC,yBAAzG,EAAoIiB,gBAApI,CAAJ;AACApB,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,yBAA1H,EAAqJkB,iCAArJ,CAAJ;AACArB,IAAI,CAAC,0FAAD,EAA6FE,oBAA7F,EAAmHC,yBAAnH,EAA8ImB,0BAA9I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\n"],"file":"fixtures.js"}
|
|
@@ -24,7 +24,6 @@ import fixtureLookandfeel from './fixtures/lookandfeel';
|
|
|
24
24
|
import fixtureManageusersEdit from './fixtures/manageusers-edit';
|
|
25
25
|
import fixtureManageusersList from './fixtures/manageusers-list';
|
|
26
26
|
import fixtureManageusers from './fixtures/manageusers';
|
|
27
|
-
import fixtureQuickAccess from './fixtures/quick-access';
|
|
28
27
|
import fixtureSsoActivate from './fixtures/sso-activate';
|
|
29
28
|
import fixtureSso from './fixtures/sso';
|
|
30
29
|
import fixtureUploadusersLoading from './fixtures/uploadusers-loading';
|
|
@@ -58,7 +57,6 @@ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › s
|
|
|
58
57
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);
|
|
59
58
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);
|
|
60
59
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);
|
|
61
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);
|
|
62
60
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);
|
|
63
61
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);
|
|
64
62
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureManageusers","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,6BAAP,MAA0C,qCAA1C;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,uBAAP,MAAoC,8BAApC;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,yBAAP,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AAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+IsB,kBAA/I,CAAJ;AACAzB,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+IuB,kBAA/I,CAAJ;AACA1B,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+IwB,kBAA/I,CAAJ;AACA3B,IAAI,CAAC,+EAAD,EAAkFE,oBAAlF,EAAwGC,6BAAxG,EAAuIyB,UAAvI,CAAJ;AACA5B,IAAI,CAAC,8FAAD,EAAiGE,oBAAjG,EAAuHC,6BAAvH,EAAsJ0B,yBAAtJ,CAAJ;AACA7B,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,6BAA1H,EAAyJ2B,4BAAzJ,CAAJ;AACA9B,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+I4B,kBAA/I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureManageusers from './fixtures/manageusers';\nimport fixtureQuickAccess from './fixtures/quick-access';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\n"],"file":"fixtures.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureManageusers","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,6BAAP,MAA0C,qCAA1C;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,uBAAP,MAAoC,8BAApC;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AAC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J;AACA5B,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,6BAA1H,EAAyJ0B,4BAAzJ,CAAJ;AACA7B,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+I2B,kBAA/I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureManageusers from './fixtures/manageusers';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\n"],"file":"fixtures.js"}
|
|
@@ -5,9 +5,6 @@ import TemplateCommonDiscipline from '..';
|
|
|
5
5
|
import fixtureAddToMyList from './fixtures/add-to-my-list';
|
|
6
6
|
import fixtureArabic from './fixtures/arabic';
|
|
7
7
|
import fixtureDefault from './fixtures/default';
|
|
8
|
-
import fixtureDisableAddToMyList from './fixtures/disable-add-to-my-list';
|
|
9
|
-
import fixtureDisableShareAndAddToMyList from './fixtures/disable-share-and-add-to-my-list';
|
|
10
|
-
import fixtureDisableShare from './fixtures/disable-share';
|
|
11
8
|
import fixtureDoubleAuthor from './fixtures/double-author';
|
|
12
9
|
import fixtureEmpty from './fixtures/empty';
|
|
13
10
|
import fixtureExternalCourseWithVideo from './fixtures/external-course-with-video';
|
|
@@ -29,9 +26,6 @@ test('TemplateCommon › TemplateCommonDiscipline > should have valid propTypes'
|
|
|
29
26
|
test('TemplateCommon › TemplateCommonDiscipline › AddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureAddToMyList);
|
|
30
27
|
test('TemplateCommon › TemplateCommonDiscipline › Arabic › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureArabic);
|
|
31
28
|
test('TemplateCommon › TemplateCommonDiscipline › Default › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDefault);
|
|
32
|
-
test('TemplateCommon › TemplateCommonDiscipline › DisableAddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDisableAddToMyList);
|
|
33
|
-
test('TemplateCommon › TemplateCommonDiscipline › DisableShareAndAddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDisableShareAndAddToMyList);
|
|
34
|
-
test('TemplateCommon › TemplateCommonDiscipline › DisableShare › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDisableShare);
|
|
35
29
|
test('TemplateCommon › TemplateCommonDiscipline › DoubleAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDoubleAuthor);
|
|
36
30
|
test('TemplateCommon › TemplateCommonDiscipline › Empty › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureEmpty);
|
|
37
31
|
test('TemplateCommon › TemplateCommonDiscipline › ExternalCourseWithVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourseWithVideo);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/common/discipline/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCommonDiscipline","fixtureAddToMyList","fixtureArabic","fixtureDefault","
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/common/discipline/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCommonDiscipline","fixtureAddToMyList","fixtureArabic","fixtureDefault","fixtureDoubleAuthor","fixtureEmpty","fixtureExternalCourseWithVideo","fixtureExternalCourseWithoutImage","fixtureExternalCourse","fixtureJwplayer","fixtureLoading","fixtureNoAuthor","fixtureNoVideo","fixtureShare","fixtureVimeo","fixtureWithOnclick","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,wBAAP,MAAqC,IAArC;AACA,OAAOC,kBAAP,MAA+B,2BAA/B;AACA,OAA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wBAAnH,EAA6IM,8BAA7I,CAAJ;AACAT,IAAI,CAAC,6FAAD,EAAgGE,oBAAhG,EAAsHC,wBAAtH,EAAgJO,iCAAhJ,CAAJ;AACAV,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,wBAA1G,EAAoIQ,qBAApI,CAAJ;AACAX,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,wBAApG,EAA8HS,eAA9H,CAAJ;AACAZ,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,wBAAnG,EAA6HU,cAA7H,CAAJ;AACAb,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,wBAApG,EAA8HW,eAA9H,CAAJ;AACAd,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,wBAAnG,EAA6HY,cAA7H,CAAJ;AACAf,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,wBAAjG,EAA2Ha,YAA3H,CAAJ;AACAhB,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,wBAAjG,EAA2Hc,YAA3H,CAAJ;AACAjB,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,wBAAvG,EAAiIe,kBAAjI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateCommonDiscipline from '..';\nimport fixtureAddToMyList from './fixtures/add-to-my-list';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoubleAuthor from './fixtures/double-author';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureExternalCourseWithVideo from './fixtures/external-course-with-video';\nimport fixtureExternalCourseWithoutImage from './fixtures/external-course-without-image';\nimport fixtureExternalCourse from './fixtures/external-course';\nimport fixtureJwplayer from './fixtures/jwplayer';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNoAuthor from './fixtures/no-author';\nimport fixtureNoVideo from './fixtures/no-video';\nimport fixtureShare from './fixtures/share';\nimport fixtureVimeo from './fixtures/vimeo';\nimport fixtureWithOnclick from './fixtures/with-onclick';\n\ntest('TemplateCommon › TemplateCommonDiscipline > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateCommonDiscipline.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateCommon.TemplateCommonDiscipline.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateCommon › TemplateCommonDiscipline › AddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureAddToMyList);\ntest('TemplateCommon › TemplateCommonDiscipline › Arabic › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureArabic);\ntest('TemplateCommon › TemplateCommonDiscipline › Default › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDefault);\ntest('TemplateCommon › TemplateCommonDiscipline › DoubleAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDoubleAuthor);\ntest('TemplateCommon › TemplateCommonDiscipline › Empty › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureEmpty);\ntest('TemplateCommon › TemplateCommonDiscipline › ExternalCourseWithVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourseWithVideo);\ntest('TemplateCommon › TemplateCommonDiscipline › ExternalCourseWithoutImage › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourseWithoutImage);\ntest('TemplateCommon › TemplateCommonDiscipline › ExternalCourse › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourse);\ntest('TemplateCommon › TemplateCommonDiscipline › Jwplayer › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureJwplayer);\ntest('TemplateCommon › TemplateCommonDiscipline › Loading › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureLoading);\ntest('TemplateCommon › TemplateCommonDiscipline › NoAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureNoAuthor);\ntest('TemplateCommon › TemplateCommonDiscipline › NoVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureNoVideo);\ntest('TemplateCommon › TemplateCommonDiscipline › Share › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureShare);\ntest('TemplateCommon › TemplateCommonDiscipline › Vimeo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureVimeo);\ntest('TemplateCommon › TemplateCommonDiscipline › WithOnclick › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureWithOnclick);\n"],"file":"fixtures.js"}
|
|
@@ -4,7 +4,6 @@ import renderComponentMacro from '../../../test/helpers/render-component';
|
|
|
4
4
|
import TemplateTeamsDashboard from '..';
|
|
5
5
|
import fixtureDefault from './fixtures/default';
|
|
6
6
|
import fixtureIsLoading from './fixtures/is-loading';
|
|
7
|
-
import fixtureMobile from './fixtures/mobile';
|
|
8
7
|
test('Template › TemplateTeamsDashboard > should have valid propTypes', t => {
|
|
9
8
|
t.pass();
|
|
10
9
|
forEach(TemplateTeamsDashboard.propTypes, (value, key) => {
|
|
@@ -13,5 +12,4 @@ test('Template › TemplateTeamsDashboard > should have valid propTypes', t => {
|
|
|
13
12
|
});
|
|
14
13
|
test('Template › TemplateTeamsDashboard › Default › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureDefault);
|
|
15
14
|
test('Template › TemplateTeamsDashboard › IsLoading › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureIsLoading);
|
|
16
|
-
test('Template › TemplateTeamsDashboard › Mobile › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureMobile);
|
|
17
15
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/template/teams-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateTeamsDashboard","fixtureDefault","fixtureIsLoading","
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/teams-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateTeamsDashboard","fixtureDefault","fixtureIsLoading","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,iEAAD,EAAoEM,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,sBAAsB,CAACK,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHE,gBAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateTeamsDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureIsLoading from './fixtures/is-loading';\n\ntest('Template › TemplateTeamsDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateTeamsDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateTeamsDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateTeamsDashboard › Default › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureDefault);\ntest('Template › TemplateTeamsDashboard › IsLoading › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureIsLoading);\n"],"file":"fixtures.js"}
|
|
@@ -8,8 +8,6 @@ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/ren
|
|
|
8
8
|
|
|
9
9
|
var _ = _interopRequireDefault(require(".."));
|
|
10
10
|
|
|
11
|
-
var _checkedDisabled = _interopRequireDefault(require("./fixtures/checked-disabled"));
|
|
12
|
-
|
|
13
11
|
var _checked = _interopRequireDefault(require("./fixtures/checked"));
|
|
14
12
|
|
|
15
13
|
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
@@ -30,7 +28,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
30
28
|
t.not(value, undefined, `PropType for "Atom.AtomInputCheckbox.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
31
29
|
});
|
|
32
30
|
});
|
|
33
|
-
(0, _ava.default)('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', _renderComponent.default, _.default, _checkedDisabled.default);
|
|
34
31
|
(0, _ava.default)('Atom › AtomInputCheckbox › Checked › should be rendered', _renderComponent.default, _.default, _checked.default);
|
|
35
32
|
(0, _ava.default)('Atom › AtomInputCheckbox › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
36
33
|
(0, _ava.default)('Atom › AtomInputCheckbox › Disabled › should be rendered', _renderComponent.default, _.default, _disabled.default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["t","pass","AtomInputCheckbox","propTypes","value","key","not","undefined","renderComponentMacro","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["t","pass","AtomInputCheckbox","propTypes","value","key","not","undefined","renderComponentMacro","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","fixtureRequired"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wDAAL,EAA+DA,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAkBC,SAA1B,EAAqC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,yDAAL,EAAgEG,wBAAhE,EAAsFN,SAAtF,EAAyGO,gBAAzG;AACA,kBAAK,yDAAL,EAAgED,wBAAhE,EAAsFN,SAAtF,EAAyGQ,gBAAzG;AACA,kBAAK,0DAAL,EAAiEF,wBAAjE,EAAuFN,SAAvF,EAA0GS,iBAA1G;AACA,kBAAK,uDAAL,EAA8DH,wBAA9D,EAAoFN,SAApF,EAAuGU,cAAvG;AACA,kBAAK,0DAAL,EAAiEJ,wBAAjE,EAAuFN,SAAvF,EAA0GW,iBAA1G;AACA,kBAAK,0DAAL,EAAiEL,wBAAjE,EAAuFN,SAAvF,EAA0GY,iBAA1G","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputCheckbox from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureError from './fixtures/error';\nimport fixtureModified from './fixtures/modified';\nimport fixtureRequired from './fixtures/required';\n\ntest('Atom › AtomInputCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);\ntest('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);\ntest('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);\ntest('Atom › AtomInputCheckbox › Error › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureError);\ntest('Atom › AtomInputCheckbox › Modified › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureModified);\ntest('Atom › AtomInputCheckbox › Required › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureRequired);\n"],"file":"fixtures.js"}
|
|
@@ -8,11 +8,7 @@ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/ren
|
|
|
8
8
|
|
|
9
9
|
var _ = _interopRequireDefault(require(".."));
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
var _formGroupTitle = _interopRequireDefault(require("./fixtures/form-group-title"));
|
|
14
|
-
|
|
15
|
-
var _pageTitle = _interopRequireDefault(require("./fixtures/page-title"));
|
|
11
|
+
var _fixture = _interopRequireDefault(require("./fixtures/fixture"));
|
|
16
12
|
|
|
17
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
14
|
|
|
@@ -22,7 +18,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
22
18
|
t.not(value, undefined, `PropType for "Atom.AtomTitle.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
23
19
|
});
|
|
24
20
|
});
|
|
25
|
-
(0, _ava.default)('Atom › AtomTitle ›
|
|
26
|
-
(0, _ava.default)('Atom › AtomTitle › FormGroupTitle › should be rendered', _renderComponent.default, _.default, _formGroupTitle.default);
|
|
27
|
-
(0, _ava.default)('Atom › AtomTitle › PageTitle › should be rendered', _renderComponent.default, _.default, _pageTitle.default);
|
|
21
|
+
(0, _ava.default)('Atom › AtomTitle › Fixture › should be rendered', _renderComponent.default, _.default, _fixture.default);
|
|
28
22
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["t","pass","AtomTitle","propTypes","value","key","not","undefined","renderComponentMacro","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["t","pass","AtomTitle","propTypes","value","key","not","undefined","renderComponentMacro","fixtureFixture"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,gDAAL,EAAuDA,CAAC,IAAI;AAC1DA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAUC,SAAlB,EAA6B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3CL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0CAAyCF,GAAI,mEAAtE;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,iDAAL,EAAwDG,wBAAxD,EAA8EN,SAA9E,EAAyFO,gBAAzF","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomTitle from '..';\nimport fixtureFixture from './fixtures/fixture';\n\ntest('Atom › AtomTitle > should have valid propTypes', t => {\n t.pass();\n forEach(AtomTitle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomTitle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomTitle › Fixture › should be rendered', renderComponentMacro, AtomTitle, fixtureFixture);\n"],"file":"fixtures.js"}
|
|
@@ -22,8 +22,6 @@ var _successWithTitleAndDescriptionAndImage = _interopRequireDefault(require("./
|
|
|
22
22
|
|
|
23
23
|
var _successWithTitleAndDescriptionAndPdf = _interopRequireDefault(require("./fixtures/success-with-title-and-description-and-pdf"));
|
|
24
24
|
|
|
25
|
-
var _successWithTitleAndDescriptionAndVideo = _interopRequireDefault(require("./fixtures/success-with-title-and-description-and-video"));
|
|
26
|
-
|
|
27
25
|
var _successWithTitleAndDescription = _interopRequireDefault(require("./fixtures/success-with-title-and-description"));
|
|
28
26
|
|
|
29
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -41,6 +39,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
41
39
|
(0, _ava.default)('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndAudio › should be rendered', _renderComponent.default, _.default, _successWithTitleAndDescriptionAndAudio.default);
|
|
42
40
|
(0, _ava.default)('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndImage › should be rendered', _renderComponent.default, _.default, _successWithTitleAndDescriptionAndImage.default);
|
|
43
41
|
(0, _ava.default)('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndPdf › should be rendered', _renderComponent.default, _.default, _successWithTitleAndDescriptionAndPdf.default);
|
|
44
|
-
(0, _ava.default)('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndVideo › should be rendered', _renderComponent.default, _.default, _successWithTitleAndDescriptionAndVideo.default);
|
|
45
42
|
(0, _ava.default)('Molecule › MoleculeFeedback › SuccessWithTitleAndDescription › should be rendered', _renderComponent.default, _.default, _successWithTitleAndDescription.default);
|
|
46
43
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/feedback/test/fixtures.js"],"names":["t","pass","MoleculeFeedback","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureFailExitNode","fixtureFailureWithTitleAndDescriptionAndVideo","fixtureSuccessExitNode","fixtureSuccessWithTitleAndDescriptionAndAudio","fixtureSuccessWithTitleAndDescriptionAndImage","fixtureSuccessWithTitleAndDescriptionAndPdf","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/feedback/test/fixtures.js"],"names":["t","pass","MoleculeFeedback","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureFailExitNode","fixtureFailureWithTitleAndDescriptionAndVideo","fixtureSuccessExitNode","fixtureSuccessWithTitleAndDescriptionAndAudio","fixtureSuccessWithTitleAndDescriptionAndImage","fixtureSuccessWithTitleAndDescriptionAndPdf","fixtureSuccessWithTitleAndDescription"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,2DAAL,EAAkEA,CAAC,IAAI;AACrEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAiBC,SAAzB,EAAoC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAClDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,qDAAoDF,GAAI,mEAAjF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,4DAAL,EAAmEG,wBAAnE,EAAyFN,SAAzF,EAA2GO,gBAA3G;AACA,kBAAK,iEAAL,EAAwED,wBAAxE,EAA8FN,SAA9F,EAAgHQ,qBAAhH;AACA,kBAAK,2FAAL,EAAkGF,wBAAlG,EAAwHN,SAAxH,EAA0IS,+CAA1I;AACA,kBAAK,oEAAL,EAA2EH,wBAA3E,EAAiGN,SAAjG,EAAmHU,wBAAnH;AACA,kBAAK,2FAAL,EAAkGJ,wBAAlG,EAAwHN,SAAxH,EAA0IW,+CAA1I;AACA,kBAAK,2FAAL,EAAkGL,wBAAlG,EAAwHN,SAAxH,EAA0IY,+CAA1I;AACA,kBAAK,yFAAL,EAAgGN,wBAAhG,EAAsHN,SAAtH,EAAwIa,6CAAxI;AACA,kBAAK,mFAAL,EAA0FP,wBAA1F,EAAgHN,SAAhH,EAAkIc,uCAAlI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeFeedback from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFailExitNode from './fixtures/fail-exit-node';\nimport fixtureFailureWithTitleAndDescriptionAndVideo from './fixtures/failure-with-title-and-description-and-video';\nimport fixtureSuccessExitNode from './fixtures/success-exit-node';\nimport fixtureSuccessWithTitleAndDescriptionAndAudio from './fixtures/success-with-title-and-description-and-audio';\nimport fixtureSuccessWithTitleAndDescriptionAndImage from './fixtures/success-with-title-and-description-and-image';\nimport fixtureSuccessWithTitleAndDescriptionAndPdf from './fixtures/success-with-title-and-description-and-pdf';\nimport fixtureSuccessWithTitleAndDescription from './fixtures/success-with-title-and-description';\n\ntest('Molecule › MoleculeFeedback > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeFeedback.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeFeedback.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeFeedback › Default › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureDefault);\ntest('Molecule › MoleculeFeedback › FailExitNode › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureFailExitNode);\ntest('Molecule › MoleculeFeedback › FailureWithTitleAndDescriptionAndVideo › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureFailureWithTitleAndDescriptionAndVideo);\ntest('Molecule › MoleculeFeedback › SuccessExitNode › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessExitNode);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndAudio › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndAudio);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndImage › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndImage);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescriptionAndPdf › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescriptionAndPdf);\ntest('Molecule › MoleculeFeedback › SuccessWithTitleAndDescription › should be rendered', renderComponentMacro, MoleculeFeedback, fixtureSuccessWithTitleAndDescription);\n"],"file":"fixtures.js"}
|