Skip to content

Commit 137071b

Browse files
committed
:chore: broom: test for elysia 0.3.0-rc.1
1 parent 63e28c3 commit 137071b

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.3.0-rc.0 - 7 Mar 2023
2+
Improvement:
3+
- Add support for Elysia 0.3.0-rc.0
4+
15
# 0.1.0-rc.3 - 13 Dec 2022
26
Change:
37
- Minimum requirement for Elysia is set to 0.1.0-rc.5

bun.lockb

71 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"devDependencies": {
3535
"@types/node": "^18.11.7",
3636
"bun-types": "^0.5.7",
37-
"elysia": "^0.3.0-beta.2",
37+
"elysia": "^0.3.0-rc.1",
3838
"eslint": "^8.26.0",
3939
"rimraf": "^3.0.2",
4040
"typescript": "^4.9.4"

test/max-age.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cors } from '../src'
44
import { describe, expect, it } from 'bun:test'
55

66
const req = (path: string, headers?: Record<string, string>) =>
7-
new Request(path, {
7+
new Request(`http://localhost${path}`, {
88
method: 'OPTIONS',
99
headers
1010
})

test/preflight.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cors } from '../src'
44
import { describe, expect, it } from 'bun:test'
55

66
const req = (path: string, headers?: Record<string, string>) =>
7-
new Request(path, {
7+
new Request(`http://localhost${path}`, {
88
method: 'OPTIONS',
99
headers
1010
})

0 commit comments

Comments
 (0)