Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled prettier test fixing proposition #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/test/javascript/spec/module/domain/Modules.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const defaultProjectHistory = (): ProjectHistory => ({
});

export const projectHistoryWithInit = (): ProjectHistory => ({
modules: [moduleSlug('init')],
modules: [moduleSlug('init'), moduleSlug('prettier')],
properties: appliedModuleProperties(),
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const defaultLandscape = (): Landscape =>
elements: [
initialModule('infinitest', 'Add infinitest filters', [applicationBaseNamePropertyDefinition()], []),
initialModule('init', 'Add some initial tools', [applicationBaseNamePropertyDefinition()], []),
initialModule('prettier', 'Add prettier', [applicationBaseNamePropertyDefinition()], []),
],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ describe('Landscape', () => {

assertSelectedConnectorsCount(wrapper, 1);
expect(wrapper.find(wrappedElement('modules-apply-new-button')).text()).toContain('(1)');
expect(wrapper.find(wrappedElement('modules-apply-all-button')).text()).toContain('(2)');
expect(wrapper.find(wrappedElement('modules-apply-all-button')).text()).toContain('(3)');
});

it('Should not select not selectable module', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const restLandscape = (): RestLandscape => ({
elements: [
landscapeModule('infinitest', 'Add infinitest filters', applicationBaseNameProperties()),
landscapeModule('init', 'Add some initial tools', applicationBaseNameProperties()),
landscapeModule('prettier', 'Add prettier', applicationBaseNameProperties()),
],
},
{
Expand Down