Skip to content

Commit

Permalink
chore: more explicit test names
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Jan 8, 2025
1 parent 130ee63 commit 5c7ae36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/metrics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ test('should sendMetrics', async (t) => {
t.true(metricsEP.isDone());
});

test('should send correct headers', (t) =>
test('should send correct custom and x-unleash headers', (t) =>
new Promise((resolve) => {
const url = getUrl();
t.plan(2);
Expand Down
2 changes: 1 addition & 1 deletion src/test/repository.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ test('should request with etag', (t) =>
repo.start();
}));

test('should request with correct headers', (t) =>
test('should request with correct custom and x-unleash headers', (t) =>
new Promise((resolve) => {
const url = 'http://unleash-test-4-x.app';
const randomKey = `random-${Math.random()}`;
Expand Down

0 comments on commit 5c7ae36

Please sign in to comment.