Skip to content

Commit a6a7660

Browse files
committed
cleanup(nx-dev): format
1 parent 9bc03df commit a6a7660

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

nx-dev/tutorial/src/templates/angular-monorepo/lesson-7/apps/inventory/src/app/app.component.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ describe('AppComponent', () => {
1414
const fixture = TestBed.createComponent(AppComponent);
1515
fixture.detectChanges();
1616
const compiled = fixture.nativeElement as HTMLElement;
17-
expect(compiled.querySelector('p')?.textContent).toContain(
18-
'Products'
19-
);
17+
expect(compiled.querySelector('p')?.textContent).toContain('Products');
2018
});
2119

2220
it(`should have as title 'inventory'`, () => {

nx-dev/tutorial/src/templates/react-monorepo/lesson-7/apps/inventory/src/app/app.spec.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ describe('App', () => {
1010

1111
it('should have a greeting as the title', () => {
1212
const { getByText } = render(<App />);
13-
expect(
14-
getByText(new RegExp('Products', 'gi'))
15-
).toBeTruthy();
13+
expect(getByText(new RegExp('Products', 'gi'))).toBeTruthy();
1614
});
1715
});

nx-dev/tutorial/src/templates/react-monorepo/lesson-7/apps/react-store/src/app/app.spec.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ describe('App', () => {
1818
<App />
1919
</BrowserRouter>
2020
);
21-
expect(
22-
getByText(new RegExp('Home', 'gi'))
23-
).toBeTruthy();
21+
expect(getByText(new RegExp('Home', 'gi'))).toBeTruthy();
2422
});
2523
});

0 commit comments

Comments
 (0)