Skip to content

Commit 9bfb551

Browse files
authored
Fix typos (#569)
* Fix typos * Fix typo
1 parent b6c94f2 commit 9bfb551

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/patterns/deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ EXPOSE 3000
244244
## Railway
245245
[Railway](https://railway.app) is one of the popular deployment platform.
246246

247-
Railway assign **random port** to expose for each deployment that can be access via `PORT` environment variable.
247+
Railway assigns a **random port** to expose for each deployment, which can be accessed via the `PORT` environment variable.
248248

249-
We need to modify our Elysia server to accept `PORT` environment to comply with Railway port.
249+
We need to modify our Elysia server to accept the `PORT` environment variable to comply with Railway port.
250250

251251
Instead of a fixed port, we may use `process.env.PORT` and provide a fallback on development instead.
252252
```ts

docs/patterns/unit-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { describe, expect, it } from 'bun:test'
3030
import { Elysia } from 'elysia'
3131

3232
describe('Elysia', () => {
33-
it('return a response', async () => {
33+
it('returns a response', async () => {
3434
const app = new Elysia().get('/', () => 'hi')
3535

3636
const response = await app
@@ -74,7 +74,7 @@ const app = new Elysia().get('/hello', 'hi')
7474
const api = treaty(app)
7575

7676
describe('Elysia', () => {
77-
it('return a response', async () => {
77+
it('returns a response', async () => {
7878
const { data, error } = await api.hello.get()
7979

8080
expect(data).toBe('hi')

0 commit comments

Comments
 (0)