travis-ci
<a href="https://github.com/couds/react-bulma-components/commit/<a class=hub.com/couds/react-bulma-components/commit/<a class="double-link" href="https://git"><a class=hub.com/couds/react-bulma-components/commit/<a class="double-link" href="https://git"><a class=hub.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b08a77aab0">e04640170<a href="https://github.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b08a77aab0">">&lt;a href=&quot;https://github.com/couds/react-bulma-components/commit/</a><a class="double-link" href="https://github.com/couds/react-bulma-components/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b08a77aab0">e04640170</a><a href="https://github.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b08a77aab0">&lt;a href=&quot;https://github.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b0</a>8a77aab0">">Merge </a><a class="double-link" href="https://github.com/couds/react-bulma-components/commit/<a class="double-link" href="https://github.com/couds/react-bulma-components/commit/<a class="double-link" href="https://github.com/couds/react-bulma-components/commit/efe8d7f6e57c88966da8d27186f0274480b6306a">efe8d7f6e</a><a href="https://github.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b08a77aab0">&quot;&gt;efe8d7f6e&lt;/a&gt;&quot;&gt;efe8d7f6e&lt;/a&gt;&lt;a href=&quot;https://github.com/couds/react-bulma-components/commit/e046401702984d440976d633c113d4b08a77a</a>ab0"> into </a><a class="double-link" href="https://github.com/couds/react-bulma-components/commit/<a class="double-link" href="https://github.com/couds/react-bulma-components/commit/732e00f37">732e00f37">732e00f37</a>
132 of 154 branches covered (85.71%)
Branch coverage included in aggregate %.
149 of 149 new or added lines in 36 files covered. (100.0%)
528 of 542 relevant lines covered (97.42%)
45.6 hits per line
|
export const normalizeAlign = (align) => {
|
43✔ |
|
if (align === 'center') { |
|
|
return 'centered'; |
1✔ |
4 |
} |
|
|
if (align === 'justify') { |
|
|
return 'justifyed'; |
× |
7 |
} |
|
|
return align;
|
4,278✔ |
9 |
}; |