Skip to content

Commit

Permalink
chore: Fix lint no-useless-escape
Browse files Browse the repository at this point in the history
  • Loading branch information
dividedmind committed Apr 21, 2024
1 parent 5ea54de commit 883589a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/tests/unit/compareReport/findings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('findings', () => {
} as unknown as ChangeReport,
reportOptions
);
expect(report).toEqual(`<h2 id=\"performance-problems\">Performance problems</h2>
expect(report).toEqual(`<h2 id="performance-problems">Performance problems</h2>
### :tada: Problems resolved (1)
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/tests/unit/compareReport/newAppMaps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('newAppMaps', () => {
} as unknown as ChangeReport,
reportOptions
);
expect(report).toEqual(`<h2 id=\"new-appmaps\">⭐ New AppMaps</h2>
expect(report).toEqual(`<h2 id="new-appmaps">⭐ New AppMaps</h2>
[[rspec] Users controller test](https://getappmap.com/?path=head%2Fminitest%2Fusers_controller_test.appmap.json) from [\`spec/controllers/users_controller_test.rb:10\`](spec/controllers/users_controller_test.rb#L10)
Expand Down Expand Up @@ -102,7 +102,7 @@ describe('newAppMaps', () => {
} as unknown as ChangeReport,
{ ...reportOptions, ...{ maxElements: 2 } }
);
expect(report).toEqual(`<h2 id=\"new-appmaps\">⭐ New AppMaps</h2>
expect(report).toEqual(`<h2 id="new-appmaps">⭐ New AppMaps</h2>
[[rspec] Users controller test](https://getappmap.com/?path=head%2Fminitest%2Fusers_controller_test.appmap.json) from [\`spec/controllers/users_controller_test.rb:10\`](spec/controllers/users_controller_test.rb#L10)
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/tests/unit/compareReport/removedAppMaps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('removedAppMaps', () => {
} as unknown as ChangeReport,
reportOptions
);
expect(report).toEqual(`<h2 id=\"removed-appmaps\">✖️ Removed AppMaps</h2>
expect(report).toEqual(`<h2 id="removed-appmaps">✖️ Removed AppMaps</h2>
[[rspec] Users controller test](https://getappmap.com/?path=base%2Fminitest%2Fusers_controller_test.appmap.json)
`);
Expand Down Expand Up @@ -104,7 +104,7 @@ describe('removedAppMaps', () => {
} as unknown as ChangeReport,
{ ...reportOptions, ...{ maxElements: 2 } }
);
expect(report).toEqual(`<h2 id=\"removed-appmaps\">✖️ Removed AppMaps</h2>
expect(report).toEqual(`<h2 id="removed-appmaps">✖️ Removed AppMaps</h2>
[[rspec] Users controller test](https://getappmap.com/?path=base%2Fminitest%2Fusers_controller_test.appmap.json)
Expand Down

0 comments on commit 883589a

Please sign in to comment.