Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

refactor: Make TS easier to wrap #4407

Merged
merged 75 commits into from
Feb 21, 2019
Merged
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
d4320a3
refactor: Make TS easier to wrap
acdvorak Feb 12, 2019
64d44bd
WIP: Dialog
acdvorak Feb 12, 2019
4b8d7f1
WIP: DOM
acdvorak Feb 12, 2019
9395509
WIP: floating-label
acdvorak Feb 12, 2019
20b4709
WIP: form-field
acdvorak Feb 12, 2019
db04534
WIP: Add missing factory functions
acdvorak Feb 12, 2019
73525f7
WIP: icon-button
acdvorak Feb 12, 2019
80223a1
WIP: Revert accidental renames
acdvorak Feb 12, 2019
7e85e42
Merge remote-tracking branch 'origin/feat/typescript' into feat/types…
acdvorak Feb 13, 2019
ff41340
WIP: Fix typo
acdvorak Feb 14, 2019
482c6e1
WIP: Add missing `private` visibility modifier
acdvorak Feb 14, 2019
e9e0e33
WIP: Reorder methods for consistency
acdvorak Feb 14, 2019
a080cda
WIP: Reorder exports
acdvorak Feb 14, 2019
5ef72ad
Merge remote-tracking branch 'origin/feat/typescript' into feat/types…
acdvorak Feb 14, 2019
8c5cde8
Merge remote-tracking branch 'origin/feat/typescript' into feat/types…
acdvorak Feb 14, 2019
7a35f8b
WIP: Move animation functions into `util.ts`, and export under new `{…
acdvorak Feb 14, 2019
2874cb4
WIP: Remove `export default MDCFoo` from `component.ts` files
acdvorak Feb 14, 2019
2efc895
WIP: Move `externs.d.ts` from `mdc-dom` to `mdc-base`
acdvorak Feb 14, 2019
86a31ce
WIP: Add `/index` to chip import paths for consistency
acdvorak Feb 14, 2019
103f125
Merge remote-tracking branch 'origin/feat/typescript' into feat/types…
acdvorak Feb 15, 2019
173f202
fix(feature-targeting): fix incorrect list construction (#4419)
mmalerba Feb 15, 2019
7ed6123
docs(dialog): Expand wording RE layout-sensitive children (#4370)
kfranqueiro Feb 15, 2019
d679b39
fix(infrastructure): Fix GitHub API authentication bug
acdvorak Feb 15, 2019
ed47614
WIP: Fix token format
acdvorak Feb 15, 2019
83300c5
chore: Add @alternate annotation to fix closure sass errors
abhiomkar Feb 15, 2019
ffb24c3
chore: updated for textfield
abhiomkar Feb 15, 2019
f765918
chore: removed redundant styles
abhiomkar Feb 15, 2019
ab90fa5
WIP: Redact auth token from error messages; remove console.log() stat…
acdvorak Feb 15, 2019
94fd587
WIP: Reduce log spam: Don't print unchanged files; don't upload `*.d.…
acdvorak Feb 15, 2019
16764a1
WIP: Remove unnecessary glob exclude
acdvorak Feb 15, 2019
5bdfcfb
WIP: Remove `packages` dir from `npm run lint:js`
acdvorak Feb 15, 2019
3d41e71
Merge remote-tracking branch 'origin/feat/typescript' into feat/types…
acdvorak Feb 15, 2019
c015434
Merge remote-tracking branch 'origin/feat/typescript' into feat/types…
acdvorak Feb 15, 2019
c0bebff
WIP: Fix `lint:js` by removing `packages` dir
acdvorak Feb 15, 2019
611d78d
WIP: Remove `default` export from adapters
acdvorak Feb 16, 2019
7558e6f
WIP: Add return type to `defaultAdapter()` in `MDCToolbarFoundation`
acdvorak Feb 16, 2019
031da72
WIP: Extract component adapter implementations to strongly-typed vari…
acdvorak Feb 16, 2019
577bec1
WIP: Remove default export from adapters
acdvorak Feb 16, 2019
0831eed
WIP: Clean up component factories
acdvorak Feb 16, 2019
725b7fe
WIP: Extract strongly typed variables for ripple adapters
acdvorak Feb 16, 2019
17a6945
WIP: Break `MDCTextFieldAdapter` into sub-interfaces for readability …
acdvorak Feb 16, 2019
77ce604
WIP: Remove unnecessary types from adapter impls; `root_.addEventList…
acdvorak Feb 16, 2019
4c1138f
WIP: Remove inferred return type; `initRipple_()` -> `createRipple_()`
acdvorak Feb 16, 2019
da08b76
WIP: Add `.ts` extension to testable file check for unit tests
acdvorak Feb 16, 2019
c3a26b3
Merge branch 'feat/typescript--github-api' into feat/typescript--refa…
acdvorak Feb 16, 2019
66d615f
WIP: Move all component definitions to `component.ts` files; standard…
acdvorak Feb 16, 2019
3be46ee
WIP: Add `MDC` prefix to most exported types
acdvorak Feb 16, 2019
835031a
WIP: Use object imports in unit tests instead of default
acdvorak Feb 16, 2019
361edfe
WIP: Remove default exports from components that didn't previously ha…
acdvorak Feb 16, 2019
1e9496d
WIP: Standardize default export syntax in foundations
acdvorak Feb 16, 2019
c1bec4b
WIP: Style
acdvorak Feb 16, 2019
93c7bf3
WIP: Add missing event detail generic type param to `emit()` calls
acdvorak Feb 16, 2019
c4c639d
WIP: Add TODOs
acdvorak Feb 16, 2019
8fae93f
WIP: Formatting
acdvorak Feb 16, 2019
d1fe4c4
WIP: Fix rewrite script to include exports
acdvorak Feb 18, 2019
694516c
WIP: Move `Event` interfaces to `types.ts` in mdc-chip
acdvorak Feb 18, 2019
d86e67a
WIP: Delete unused TypeScript rewrite scripts (they're now internal)
acdvorak Feb 18, 2019
31e637e
WIP: Replace `CustomEvent<T>` with custom interface to support Closur…
acdvorak Feb 19, 2019
60a75a8
WIP: Move all `Event` types to `types.ts` (except in `mdc-tabs/tab` b…
acdvorak Feb 19, 2019
c289e4b
WIP: Clean up some `strings` usages
acdvorak Feb 19, 2019
d877bc3
Merge remote-tracking branch 'origin/fix/textfield_closure_sass' into…
acdvorak Feb 19, 2019
6f9ab9f
WIP: Add missing `/index` to imports
acdvorak Feb 19, 2019
1b8e912
WIP: Fix type error
acdvorak Feb 19, 2019
08cd3bb
WIP: Add missing `./types` export to mdc-dialog
acdvorak Feb 19, 2019
1e68882
WIP: Make import paths more specific in textfield foundation
acdvorak Feb 19, 2019
03db3ea
WIP: Rename most types to include `MDC` prefix (except `RippleCapable…
acdvorak Feb 19, 2019
9406e0c
WIP: Delete unused Sass Closure rewrite script (moved internally)
acdvorak Feb 19, 2019
07bc5ea
WIP: Update `.gitignore` and `package.json` for `.rewrite-tmp`
acdvorak Feb 19, 2019
0f1a813
WIP: Style
acdvorak Feb 19, 2019
928628c
WIP: Remove unnecessary `export default MDCTabScroller`
acdvorak Feb 21, 2019
0bfcf50
WIP: Add missing `DO NOT INLINE` comment to all `getDefaultFoundation…
acdvorak Feb 21, 2019
7f6693f
WIP: Rename `RippleCapableSurface` to `MDCRippleCapableSurface`
acdvorak Feb 21, 2019
eb36503
WIP: Organize .gitignore and add comments
acdvorak Feb 21, 2019
a09f608
WIP: Re-indent all TS files to match Google style
acdvorak Feb 21, 2019
56a0650
WIP: Add missing foundation constructors and `./types` export
acdvorak Feb 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP: Use object imports in unit tests instead of default
  • Loading branch information
acdvorak committed Feb 16, 2019
commit 835031ad2dd2acd5d1d1efe97fa40d1130b6cac5
2 changes: 1 addition & 1 deletion test/unit/mdc-chips/mdc-chip-set.foundation.test.js
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ import {assert} from 'chai';
import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import MDCChipSetFoundation from '../../../packages/mdc-chips/chip-set/foundation';
import {MDCChipSetFoundation} from '../../../packages/mdc-chips/chip-set/foundation';

const {cssClasses} = MDCChipSetFoundation;

2 changes: 1 addition & 1 deletion test/unit/mdc-dialog/foundation.test.js
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ import {verifyDefaultAdapter} from '../helpers/foundation';

import {cssClasses, strings, numbers} from '../../../packages/mdc-dialog/constants';
import {install as installClock} from '../helpers/clock';
import MDCDialogFoundation from '../../../packages/mdc-dialog/foundation';
import {MDCDialogFoundation} from '../../../packages/mdc-dialog/foundation';

const ENTER_EVENTS = [
{type: 'keydown', key: 'Enter', target: {}},
2 changes: 1 addition & 1 deletion test/unit/mdc-drawer/modal.foundation.test.js
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
*/

import td from 'testdouble';
import MDCModalDrawerFoundation from '../../../packages/mdc-drawer/modal/foundation';
import {MDCModalDrawerFoundation} from '../../../packages/mdc-drawer/modal/foundation';

suite('MDCModalDrawerFoundation');

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {captureHandlers, verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCFloatingLabelFoundation from '../../../packages/mdc-floating-label/foundation';
import {MDCFloatingLabelFoundation} from '../../../packages/mdc-floating-label/foundation';

const {cssClasses} = MDCFloatingLabelFoundation;

2 changes: 1 addition & 1 deletion test/unit/mdc-grid-list/foundation.test.js
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ import td from 'testdouble';
import {install as installClock} from '../helpers/clock';
import {setupFoundationTest} from '../helpers/setup';
import {verifyDefaultAdapter} from '../helpers/foundation';
import MDCGridListFoundation from '../../../packages/mdc-grid-list/foundation';
import {MDCGridListFoundation} from '../../../packages/mdc-grid-list/foundation';

suite('MDCGridListFoundation');

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCLineRippleFoundation from '../../../packages/mdc-line-ripple/foundation';
import {MDCLineRippleFoundation} from '../../../packages/mdc-line-ripple/foundation';

const {cssClasses} = MDCLineRippleFoundation;

2 changes: 1 addition & 1 deletion test/unit/mdc-notched-outline/foundation.test.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCNotchedOutlineFoundation from '../../../packages/mdc-notched-outline/foundation';
import {MDCNotchedOutlineFoundation} from '../../../packages/mdc-notched-outline/foundation';

const {cssClasses, numbers, strings} = MDCNotchedOutlineFoundation;

2 changes: 1 addition & 1 deletion test/unit/mdc-select/foundation.test.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';

import MDCSelectFoundation from '../../../packages/mdc-select/foundation';
import {MDCSelectFoundation} from '../../../packages/mdc-select/foundation';
import {cssClasses, strings, numbers} from '../../../packages/mdc-select/constants';

const LABEL_WIDTH = 100;
2 changes: 1 addition & 1 deletion test/unit/mdc-select/mdc-select-enhanced.test.js
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ import {cssClasses, strings} from '../../../packages/mdc-select/constants';
import {MDCNotchedOutline} from '../../../packages/mdc-notched-outline/index';
import {MDCMenu, MDCMenuFoundation} from '../../../packages/mdc-menu/index';
import {MDCMenuSurfaceFoundation} from '../../../packages/mdc-menu-surface/index';
import MDCSelectFoundation from '../../../packages/mdc-select/foundation';
import {MDCSelectFoundation} from '../../../packages/mdc-select/foundation';
import {MDCListFoundation} from '../../../packages/mdc-list/foundation';
import {MDCSelectIcon} from '../../../packages/mdc-select/icon';

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCSelectHelperTextFoundation from '../../../packages/mdc-select/helper-text/foundation';
import {MDCSelectHelperTextFoundation} from '../../../packages/mdc-select/helper-text/foundation';

const {cssClasses, strings} = MDCSelectHelperTextFoundation;

2 changes: 1 addition & 1 deletion test/unit/mdc-select/mdc-select-icon-foundation.test.js
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCSelectIconFoundation from '../../../packages/mdc-select/icon/foundation';
import {MDCSelectIconFoundation} from '../../../packages/mdc-select/icon/foundation';
import {strings} from '../../../packages/mdc-select/icon/constants';

suite('MDCSelectIconFoundation');
2 changes: 1 addition & 1 deletion test/unit/mdc-slider/foundation.test.js
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ import {install as installClock} from '../helpers/clock';
import {setupFoundationTest} from '../helpers/setup';

import {cssClasses} from '../../../packages/mdc-slider/constants';
import MDCSliderFoundation from '../../../packages/mdc-slider/foundation';
import {MDCSliderFoundation} from '../../../packages/mdc-slider/foundation';

suite('MDCSliderFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-slider/helpers.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import {captureHandlers} from '../helpers/foundation';
import {install as installClock} from '../helpers/clock';
import {setupFoundationTest} from '../helpers/setup';

import MDCSliderFoundation from '../../../packages/mdc-slider/foundation';
import {MDCSliderFoundation} from '../../../packages/mdc-slider/foundation';

export const TRANSFORM_PROP = getCorrectPropertyName(window, 'transform');

2 changes: 1 addition & 1 deletion test/unit/mdc-snackbar/foundation.test.js
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ import {verifyDefaultAdapter} from '../helpers/foundation';

import {cssClasses, strings, numbers} from '../../../packages/mdc-snackbar/constants';
import {install as installClock} from '../helpers/clock';
import MDCSnackbarFoundation from '../../../packages/mdc-snackbar/foundation';
import {MDCSnackbarFoundation} from '../../../packages/mdc-snackbar/foundation';

suite('MDCSnackbarFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-tab-bar/foundation.test.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCTabBarFoundation from '../../../packages/mdc-tab-bar/foundation';
import {MDCTabBarFoundation} from '../../../packages/mdc-tab-bar/foundation';

suite('MDCTabBarFoundation');

8 changes: 4 additions & 4 deletions test/unit/mdc-tab-scroller/foundation.test.js
Original file line number Diff line number Diff line change
@@ -27,10 +27,10 @@ import td from 'testdouble';
import {verifyDefaultAdapter} from '../helpers/foundation';
import {install as installClock} from '../helpers/clock';
import {setupFoundationTest} from '../helpers/setup';
import MDCTabScrollerFoundation from '../../../packages/mdc-tab-scroller/foundation';
import MDCTabScrollerRTLDefault from '../../../packages/mdc-tab-scroller/rtl-default-scroller';
import MDCTabScrollerRTLNegative from '../../../packages/mdc-tab-scroller/rtl-negative-scroller';
import MDCTabScrollerRTLReverse from '../../../packages/mdc-tab-scroller/rtl-reverse-scroller';
import {MDCTabScrollerFoundation} from '../../../packages/mdc-tab-scroller/foundation';
import {MDCTabScrollerRTLDefault} from '../../../packages/mdc-tab-scroller/rtl-default-scroller';
import {MDCTabScrollerRTLNegative} from '../../../packages/mdc-tab-scroller/rtl-negative-scroller';
import {MDCTabScrollerRTLReverse} from '../../../packages/mdc-tab-scroller/rtl-reverse-scroller';

suite('MDCTabScrollerFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-tab-scroller/mdc-tab-scroller.test.js
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ import {
util,
} from '../../../packages/mdc-tab-scroller/index';

import MDCTabScrollerRTL from '../../../packages/mdc-tab-scroller/rtl-scroller';
import {MDCTabScrollerRTL} from '../../../packages/mdc-tab-scroller/rtl-scroller';

const getFixture = () => bel`
<div class="mdc-tab-scroller">
4 changes: 2 additions & 2 deletions test/unit/mdc-tab-scroller/rtl-default-scroller.test.js
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ import {assert} from 'chai';
import td from 'testdouble';

import {setupFoundationTest} from '../helpers/setup';
import MDCTabScrollerFoundation from '../../../packages/mdc-tab-scroller/foundation';
import MDCTabScrollerRTLDefault from '../../../packages/mdc-tab-scroller/rtl-default-scroller';
import {MDCTabScrollerFoundation} from '../../../packages/mdc-tab-scroller/foundation';
import {MDCTabScrollerRTLDefault} from '../../../packages/mdc-tab-scroller/rtl-default-scroller';

suite('MDCTabScrollerRTLDefault');

4 changes: 2 additions & 2 deletions test/unit/mdc-tab-scroller/rtl-negative-scroller.test.js
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ import {assert} from 'chai';
import td from 'testdouble';

import {setupFoundationTest} from '../helpers/setup';
import MDCTabScrollerFoundation from '../../../packages/mdc-tab-scroller/foundation';
import MDCTabScrollerRTLNegative from '../../../packages/mdc-tab-scroller/rtl-negative-scroller';
import {MDCTabScrollerFoundation} from '../../../packages/mdc-tab-scroller/foundation';
import {MDCTabScrollerRTLNegative} from '../../../packages/mdc-tab-scroller/rtl-negative-scroller';

suite('MDCTabScrollerRTLNegative');

4 changes: 2 additions & 2 deletions test/unit/mdc-tab-scroller/rtl-reverse-scroller.test.js
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ import {assert} from 'chai';
import td from 'testdouble';

import {setupFoundationTest} from '../helpers/setup';
import MDCTabScrollerFoundation from '../../../packages/mdc-tab-scroller/foundation';
import MDCTabScrollerRTLReverse from '../../../packages/mdc-tab-scroller/rtl-reverse-scroller';
import {MDCTabScrollerFoundation} from '../../../packages/mdc-tab-scroller/foundation';
import {MDCTabScrollerRTLReverse} from '../../../packages/mdc-tab-scroller/rtl-reverse-scroller';

suite('MDCTabScrollerRTLReverse');

2 changes: 1 addition & 1 deletion test/unit/mdc-tab/foundation.test.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCTabFoundation from '../../../packages/mdc-tab/foundation';
import {MDCTabFoundation} from '../../../packages/mdc-tab/foundation';

suite('MDCTabFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-tabs/mdc-tab-bar-foundation.test.js
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ import {setupFoundationTest} from '../helpers/setup';
import {verifyDefaultAdapter, captureHandlers} from '../helpers/foundation';
import {install as installClock} from '../helpers/clock';

import MDCTabBarFoundation from '../../../packages/mdc-tabs/tab-bar/foundation';
import {MDCTabBarFoundation} from '../../../packages/mdc-tabs/tab-bar/foundation';

suite('MDCTabBarFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-tabs/mdc-tab-bar-scroller-foundation.test.js
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ import {setupFoundationTest} from '../helpers/setup';
import {verifyDefaultAdapter} from '../helpers/foundation';
import {install as installClock} from '../helpers/clock';

import MDCTabBarScrollerFoundation from '../../../packages/mdc-tabs/tab-bar-scroller/foundation';
import {MDCTabBarScrollerFoundation} from '../../../packages/mdc-tabs/tab-bar-scroller/foundation';

suite('MDCTabBarScrollerFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-tabs/mdc-tab-foundation.test.js
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ import {setupFoundationTest} from '../helpers/setup';
import {verifyDefaultAdapter, captureHandlers} from '../helpers/foundation';

import {cssClasses} from '../../../packages/mdc-tabs/tab/constants';
import MDCTabFoundation from '../../../packages/mdc-tabs/tab/foundation';
import {MDCTabFoundation} from '../../../packages/mdc-tabs/tab/foundation';

suite('MDCTabFoundation');

2 changes: 1 addition & 1 deletion test/unit/mdc-textfield/foundation.test.js
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ import {assert} from 'chai';
import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import MDCTextFieldFoundation from '../../../packages/mdc-textfield/foundation';
import {MDCTextFieldFoundation} from '../../../packages/mdc-textfield/foundation';

const LABEL_WIDTH = 100;
const {cssClasses, numbers} = MDCTextFieldFoundation;
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCTextFieldCharacterCounterFoundation from '../../../packages/mdc-textfield/character-counter/foundation';
import {MDCTextFieldCharacterCounterFoundation} from '../../../packages/mdc-textfield/character-counter/foundation';

suite('MDCTextFieldCharacterCounterFoundation');

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCTextFieldHelperTextFoundation from '../../../packages/mdc-textfield/helper-text/foundation';
import {MDCTextFieldHelperTextFoundation} from '../../../packages/mdc-textfield/helper-text/foundation';

const {cssClasses} = MDCTextFieldHelperTextFoundation;

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';

import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCTextFieldIconFoundation from '../../../packages/mdc-textfield/icon/foundation';
import {MDCTextFieldIconFoundation} from '../../../packages/mdc-textfield/icon/foundation';
import {strings} from '../../../packages/mdc-textfield/icon/constants';

suite('MDCTextFieldIconFoundation');
2 changes: 1 addition & 1 deletion test/unit/mdc-toolbar/foundation.test.js
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ import td from 'testdouble';
import {install as installClock} from '../helpers/clock';
import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCToolbarFoundation from '../../../packages/mdc-toolbar/foundation';
import {MDCToolbarFoundation} from '../../../packages/mdc-toolbar/foundation';

const {cssClasses, numbers} = MDCToolbarFoundation;

4 changes: 2 additions & 2 deletions test/unit/mdc-top-app-bar/fixed.foundation.test.js
Original file line number Diff line number Diff line change
@@ -23,8 +23,8 @@

import td from 'testdouble';

import MDCFixedTopAppBarFoundation from '../../../packages/mdc-top-app-bar/fixed/foundation';
import MDCTopAppBarFoundation from '../../../packages/mdc-top-app-bar/foundation';
import {MDCFixedTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/fixed/foundation';
import {MDCTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/standard/foundation';
import {install as installClock} from '../helpers/clock';

suite('MDCFixedTopAppBarFoundation');
2 changes: 1 addition & 1 deletion test/unit/mdc-top-app-bar/foundation.test.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import td from 'testdouble';
import {captureHandlers} from '../helpers/foundation';

import {verifyDefaultAdapter} from '../helpers/foundation';
import MDCTopAppBarBaseFoundation from '../../../packages/mdc-top-app-bar/foundation';
import {MDCTopAppBarBaseFoundation} from '../../../packages/mdc-top-app-bar/foundation';
import {cssClasses, numbers, strings} from '../../../packages/mdc-top-app-bar/constants';

suite('MDCTopAppBarBaseFoundation');
6 changes: 3 additions & 3 deletions test/unit/mdc-top-app-bar/mdc-top-app-bar.test.js
Original file line number Diff line number Diff line change
@@ -28,9 +28,9 @@ import td from 'testdouble';

import {MDCTopAppBar} from '../../../packages/mdc-top-app-bar/index';
import {strings} from '../../../packages/mdc-top-app-bar/constants';
import MDCTopAppBarFoundation from '../../../packages/mdc-top-app-bar/foundation';
import MDCFixedTopAppBarFoundation from '../../../packages/mdc-top-app-bar/fixed/foundation';
import MDCShortTopAppBarFoundation from '../../../packages/mdc-top-app-bar/short/foundation';
import {MDCTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/standard/foundation';
import {MDCFixedTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/fixed/foundation';
import {MDCShortTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/short/foundation';

const MENU_ICONS_COUNT = 3;

4 changes: 2 additions & 2 deletions test/unit/mdc-top-app-bar/short.foundation.test.js
Original file line number Diff line number Diff line change
@@ -23,8 +23,8 @@

import td from 'testdouble';

import MDCShortTopAppBarFoundation from '../../../packages/mdc-top-app-bar/short/foundation';
import MDCTopAppBarFoundation from '../../../packages/mdc-top-app-bar/foundation';
import {MDCShortTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/short/foundation';
import {MDCTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/standard/foundation';
import {install as installClock} from '../helpers/clock';

suite('MDCShortTopAppBarFoundation');
2 changes: 1 addition & 1 deletion test/unit/mdc-top-app-bar/standard.foundation.test.js
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
import {assert} from 'chai';
import td from 'testdouble';

import MDCTopAppBarFoundation from '../../../packages/mdc-top-app-bar/standard/foundation';
import {MDCTopAppBarFoundation} from '../../../packages/mdc-top-app-bar/standard/foundation';
import {numbers} from '../../../packages/mdc-top-app-bar/constants';
import {install as installClock} from '../helpers/clock';