Skip to content

Commit

Permalink
feat(tabs): update imports to get correct coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyjabs authored and Westbrook committed Feb 16, 2023
1 parent 9933ad8 commit 2e421cd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
10 changes: 5 additions & 5 deletions packages/tabs/stories/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/
import '@spectrum-web-components/tabs/sp-tab.js';
import '@spectrum-web-components/tabs/sp-tabs.js';
import '@spectrum-web-components/tabs/sp-tab-panel.js';
import '@spectrum-web-components/tabs/sp-tabs-overflow.js';

import { html, nothing, TemplateResult } from '@spectrum-web-components/base';
import { repeat } from '@spectrum-web-components/base/src/directives.js';

import '../sp-tab-panel.js';
import '../sp-tab.js';
import '../sp-tabs.js';
import '../sp-tabs-overflow.js';

export const renderTabsOverflowExample = (
count: number,
size: string,
Expand Down
21 changes: 10 additions & 11 deletions packages/tabs/test/tabs-overflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/
import { elementUpdated, expect, fixture } from '@open-wc/testing';
import { html, nothing } from '@spectrum-web-components/base';
import { repeat } from 'lit/directives/repeat.js';

import { TabsOverflow } from '../src/TabsOverflow';
import { Tab } from '../src/Tab';
import { ActionButton } from '@spectrum-web-components/action-button';
import '@spectrum-web-components/theme/sp-theme.js';
import '@spectrum-web-components/theme/scale-medium.js';
import '@spectrum-web-components/theme/theme-light.js';
import '../sp-tabs-overflow.js';
import '../sp-tabs.js';
import '../sp-tab.js';
import '../sp-tab-panel.js';
import '@spectrum-web-components/tabs/sp-tab.js';
import '@spectrum-web-components/tabs/sp-tabs.js';
import '@spectrum-web-components/tabs/sp-tab-panel.js';
import '@spectrum-web-components/tabs/sp-tabs-overflow.js';
import { Tab, TabsOverflow } from '@spectrum-web-components/tabs';
import { ActionButton } from '@spectrum-web-components/action-button';

import { elementUpdated, expect, fixture } from '@open-wc/testing';
import { html, nothing } from '@spectrum-web-components/base';
import { repeat } from 'lit/directives/repeat.js';

const renderTabsOverflow = async (
count: number,
Expand Down

0 comments on commit 2e421cd

Please sign in to comment.