Skip to content

Commit

Permalink
nit #10774
Browse files Browse the repository at this point in the history
  • Loading branch information
chrabyrd committed Apr 16, 2024
1 parent 0f72d3c commit 1149fff
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 834 deletions.
26 changes: 13 additions & 13 deletions arches/app/src/ExampleComponent.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ import ExampleComponent from '@/ExampleComponent.vue';


describe('ExampleComponent', () => {
it('renders correctly', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.exists()).toBeTruthy();
});
it('renders correctly', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.exists()).toBeTruthy();
});


it('renders h1 element with correct text', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.find('h1').text()).toBe('Hello from the template!');
});
it('renders h1 element with correct text', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.find('h1').text()).toBe('Hello from the template!');
});


it('applies scoped styles to h1 element', () => {
const wrapper = mount(ExampleComponent);
const h1 = wrapper.find('h1');
expect(h1.classes()).toContain('header');
});
it('applies scoped styles to h1 element', () => {
const wrapper = mount(ExampleComponent);
const h1 = wrapper.find('h1');
expect(h1.classes()).toContain('header');
});
});
2 changes: 1 addition & 1 deletion arches/app/src/ExampleComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ console.log($gettext('Hello from the <script> tag!'));

<style scoped>
.header {
color: red;
color: red;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ import ExampleComponent from '@/ExampleComponent.vue';


describe('ExampleComponent', () => {
it('renders correctly', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.exists()).toBeTruthy();
});
it('renders correctly', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.exists()).toBeTruthy();
});


it('renders h1 element with correct text', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.find('h1').text()).toBe('Hello from the template!');
});
it('renders h1 element with correct text', () => {
const wrapper = mount(ExampleComponent);
expect(wrapper.find('h1').text()).toBe('Hello from the template!');
});


it('applies scoped styles to h1 element', () => {
const wrapper = mount(ExampleComponent);
const h1 = wrapper.find('h1');
expect(h1.classes()).toContain('header');
});
it('applies scoped styles to h1 element', () => {
const wrapper = mount(ExampleComponent);
const h1 = wrapper.find('h1');
expect(h1.classes()).toContain('header');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ console.log($gettext('Hello from the <script> tag!'));

<style scoped>
.header {
color: red;
color: red;
}
</style>
23 changes: 0 additions & 23 deletions arches/install/arches-templates/webpack/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1149fff

Please sign in to comment.