Skip to content

Commit e068722

Browse files
committed
test: update failing tests associated to #107
1 parent 1bc4a6b commit e068722

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/components/Col/__snapshots__/Col.spec.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ exports[`style rendering should render display to flex 1`] = `
7676
display: -webkit-flex;
7777
display: -ms-flexbox;
7878
display: flex;
79+
-ms-flex-item-align: auto;
80+
align-self: auto;
7981
}
8082
8183
@media (min-width: 30rem) {

src/helpers/columnWidth/columnWidth.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ describe('columnWidth', () => {
6969
test('should not return display:block', () => {
7070
const displayProps = { xs: 1, display: 'flex' };
7171
const width = columnWidth(displayProps, 'xs');
72-
expect(width).not.toContain('display: block');
72+
expect(width).not.toContain('display: block;');
7373
});
7474

75-
test('should only return display:block if display has not alreayd been set', () => {
75+
test('should only return display:block if display has not already been set', () => {
7676
const displayProps = { xs: 1 };
7777
const width = columnWidth(displayProps, 'xs');
78-
expect(width).toContain('display: block');
78+
expect(width).toContain('display: block;');
7979
});
8080

8181
test('should return "display:none" if breakpoint is explicity set to 0', () => {

0 commit comments

Comments
 (0)