Skip to content

Commit 479e214

Browse files
Luke BowermanLuke Bowerman
authored andcommitted
Travis configuration improvement
Build & test can now be run in parallel since Jest no longer uses build artifacts + Minor lint clean-ups
1 parent 33523b1 commit 479e214

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ jobs:
88
include:
99
- script: "yarn run-p -c lint:css lint:es"
1010
name: ESLint & Stylelint
11+
- script: "yarn build"
12+
name: "Build: Babel, Typescript (lib/*.d.ts)"
1113
- script: "yarn test"
12-
before_script: "yarn build"
13-
name: "Babel, Typescript (lib/*.d.ts) & Tests"
14+
name: "Jest Test Suite"
1415
- script: "yarn workspace www build"
1516
name: "Gatsby"
1617

packages/components/src/MessageBar/MessageBar.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@
2424
2525
*/
2626

27-
import { CompatibleHTMLProps, TypographyProps } from '@looker/design-tokens'
27+
import {
28+
CompatibleHTMLProps,
29+
omitStyledProps,
30+
TypographyProps,
31+
} from '@looker/design-tokens'
2832
import React, { forwardRef, Ref } from 'react'
2933
import styled from 'styled-components'
30-
import { omitStyledProps } from '@looker/design-tokens'
3134
import { IconButton } from '../Button'
3235
import { SimpleLayoutProps, simpleLayoutCSS } from '../Layout/utils/simple'
3336
import { getIntentLabel, Status } from '../Status'

packages/playground/src/Form/InputDateRangeDemo.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import styled from 'styled-components'
2828
import {
2929
Select,
3030
Heading,
31-
LocaleCodes,
3231
DateFormat,
3332
InputDateRange,
3433
Popover,
@@ -164,11 +163,7 @@ export const InputDateRangeDemo: FC = () => {
164163
</SelectedDateWrapper>
165164
</HeadingGrid>
166165
<div>
167-
<InputDateRange
168-
onChange={setLocalizedDate}
169-
locale={locale as LocaleCodes}
170-
key={locale}
171-
/>
166+
<InputDateRange onChange={setLocalizedDate} />
172167
</div>
173168
</div>
174169
<div>

0 commit comments

Comments
 (0)