Skip to content

Commit cd0031a

Browse files
committed
Fix test output.
1 parent 97948e7 commit cd0031a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

browser-extension/tests/har-fixture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export { expect }
3333
export function usingHar(harKey: keyof typeof PAGES) {
3434
return {
3535
it: (name: string, fn: () => void | Promise<void>) => {
36-
return baseTest(name, async () => {
36+
return baseTest(`${harKey}:${name}`, async () => {
3737
// Setup HAR DOM before test
3838
await setupHarDOM(harKey)
3939

browser-extension/tests/lib/enhancers/github.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ expect
66
import { EnhancerRegistry } from '../../../src/lib/registries'
77

88
describe('github', () => {
9-
usingHar('gh_pr').it('should create the correct spot object for gh_pr', async () => {
9+
usingHar('gh_pr').it('should create the correct spot object', async () => {
1010
const enhancers = new EnhancerRegistry()
1111
const textareas = document.querySelectorAll('textarea')
1212
expect(textareas.length).toBe(2)
@@ -21,7 +21,7 @@ describe('github', () => {
2121
}
2222
`)
2323
})
24-
usingHar('gh_new_pr').it('should create the correct spot object for gh_new_pr', async () => {
24+
usingHar('gh_new_pr').it('should create the correct spot object', async () => {
2525
const enhancers = new EnhancerRegistry()
2626
const textareas = document.querySelectorAll('textarea')
2727
expect(textareas.length).toBe(2)
@@ -34,7 +34,7 @@ describe('github', () => {
3434
}
3535
`)
3636
})
37-
usingHar('gh_issue').it('should create the correct spot object for gh_issue', async () => {
37+
usingHar('gh_issue').it('should create the correct spot object', async () => {
3838
const enhancers = new EnhancerRegistry()
3939
const textareas = document.querySelectorAll('textarea')
4040
expect(textareas.length).toBe(1)
@@ -48,9 +48,7 @@ describe('github', () => {
4848
}
4949
`)
5050
})
51-
usingHar(
52-
'gh_new_issue',
53-
).it('should create the correct spot object for gh_new_issue', async () => {
51+
usingHar('gh_new_issue').it('should create the correct spot object', async () => {
5452
const enhancers = new EnhancerRegistry()
5553
const textareas = document.querySelectorAll('textarea')
5654
expect(textareas.length).toBe(1)

0 commit comments

Comments
 (0)