Skip to content

Commit

Permalink
refactor: update inline snapshot in index.spec.ts for improved clarit…
Browse files Browse the repository at this point in the history
…y and branding
  • Loading branch information
jqshuv committed Dec 25, 2024
1 parent 4f82081 commit 74fb5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Hello World worker', () => {
const response = await worker.fetch(request, env);
// Wait for all `Promise`s passed to `ctx.waitUntil()` to settle before running test assertions
await waitOnExecutionContext(ctx);
expect(await response.text()).toMatchInlineSnapshot(`"just redirect. (v${version}) - powered by jqshuv x unately."`);
expect(await response.text()).toMatchInlineSnapshot(`"short. (v${version}) - created by @jqshuv - https://github.com/jqshuv/short"`);
});

it('post request url', async () => {
Expand Down

0 comments on commit 74fb5b5

Please sign in to comment.