add test utils import alias
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { defaultA11yConfig } from '../../../core/helpers/chai';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
import { {{ className extensionType name }} } from './{{ extensionFilename extensionType name }}.element';
|
||||
|
||||
describe('{{className extensionType name}}', () => {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../core/test-utils/chai';
|
||||
import UmbLogin from './login.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbLogin', () => {
|
||||
let element: UmbLogin;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbDashboardPublishedStatusElement } from './dashboard-published-status.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbDashboardPublishedStatus', () => {
|
||||
let element: UmbDashboardPublishedStatusElement;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbDashboardSettingsWelcomeElement } from './dashboard-settings-welcome.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbDashboardSettingsWelcomeElement', () => {
|
||||
let element: UmbDashboardSettingsWelcomeElement;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbDashboardTelemetryElement } from './dashboard-telemetry.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbDashboardTelemetryElement', () => {
|
||||
let element: UmbDashboardTelemetryElement;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbPropertyEditorUIBlockListElement } from './property-editor-ui-block-list.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbPropertyEditorUIBlockListElement', () => {
|
||||
let element: UmbPropertyEditorUIBlockListElement;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbPropertyEditorUICheckboxListElement } from './property-editor-ui-checkbox-list.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbPropertyEditorUICheckboxListElement', () => {
|
||||
let element: UmbPropertyEditorUICheckboxListElement;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbPropertyEditorUIIconPickerElement } from './property-editor-ui-icon-picker.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbPropertyEditorUIIconPickerElement', () => {
|
||||
let element: UmbPropertyEditorUIIconPickerElement;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbPropertyEditorUIToggleElement } from './property-editor-ui-toggle.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbPropertyEditorUIToggleElement', () => {
|
||||
let element: UmbPropertyEditorUIToggleElement;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../core/test-utils/chai';
|
||||
import { UmbInstallerConsentElement } from './installer-consent.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerConsentElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../core/test-utils/chai';
|
||||
import { UmbInstallerDatabaseElement } from './installer-database.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerDatabaseElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../core/test-utils/chai';
|
||||
import { UmbInstallerErrorElement } from './installer-error.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerErrorElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../core/test-utils/chai';
|
||||
import { UmbInstallerElement } from './installer.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../core/test-utils/chai';
|
||||
import { UmbInstallerInstallingElement } from './installer-installing.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerInstallingElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../../core/test-utils/chai';
|
||||
import { UmbInstallerLayoutElement } from './installer-layout.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerLayoutElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../../core/test-utils/chai';
|
||||
import { UmbInstallerUserElement } from './installer-user.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
// TODO: Write tests
|
||||
describe('UmbInstallerUserElement', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
|
||||
import { defaultA11yConfig } from '../core/test-utils/chai';
|
||||
import { UmbUpgraderView } from './upgrader-view.element';
|
||||
import { defaultA11yConfig } from '@umbraco-cms/test-utils';
|
||||
|
||||
describe('UmbUpgraderView', () => {
|
||||
let element: UmbUpgraderView;
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"@umbraco-cms/extensions-api": ["src/core/extensions-api"],
|
||||
"@umbraco-cms/observable-api": ["src/core/observable-api"],
|
||||
"@umbraco-cms/utils": ["src/core/utils"],
|
||||
"@umbraco-cms/test-utils": ["src/core/test-utils"],
|
||||
"@umbraco-cms/css/*": ["src/core/css/*"],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user