Skip to content

Commit 02f2f0b

Browse files
fix: Bump up realtime-js (#1418)
* fix: Bump up realtime; add integration tests (#1395) * fix: bump up realtime-js (#1409) * fix: bump up realtime-js; await on token change (#1411) * fix: prevent async calls in _listenForAuthEvents (#1412) * fix: bump up realtime-js (#1413) * bump up realtime-js (#1419) * resolve conflict --------- Co-authored-by: Guilherme Souza <[email protected]> Co-authored-by: Guilherme Souza <[email protected]>
1 parent bc4bce1 commit 02f2f0b

File tree

14 files changed

+8198
-279
lines changed

14 files changed

+8198
-279
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
with:
3737
node-version: ${{ matrix.node }}
3838

39+
- name: Set up Supabase CLI
40+
uses: supabase/setup-cli@v1
41+
with:
42+
version: latest
43+
3944
- name: Run tests
4045
run: |
4146
npm clean-install

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,21 @@ const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key
8686
})
8787
```
8888

89+
## Testing
90+
91+
### Unit Testing
92+
93+
```bash
94+
pnpm test
95+
```
96+
97+
### Integration Testing
98+
99+
```bash
100+
supabase start
101+
pnpm run test:integration
102+
```
103+
89104
## Badges
90105

91106
[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-js/badge.svg?branch=master)](https://coveralls.io/github/supabase/supabase-js?branch=master)

0 commit comments

Comments
 (0)