Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Jun 28, 2024
1 parent 50c3473 commit dee76cd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
15 changes: 15 additions & 0 deletions tests/c1-integration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Ceramic-one integration tests

## Setup

A Ceramic One node needs to be running, for example using Docker:

```sh
docker run --platform=linux/x86_64 -p 5001:5001 -e CERAMIC_ONE_STORE_DIR=/ -e CERAMIC_ONE_NETWORK=in-memory -e CERAMIC_ONE_BIND_ADDRESS=0.0.0.0:5001 public.ecr.aws/r5b3e0r5/3box/ceramic-one:latest
```

## Running tests

```sh
pnpm test
```
7 changes: 0 additions & 7 deletions tests/c1-integration/test/model.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ const testModel: ModelDefinition = {
},
}

test.only('connect to ceramic-one', async () => {
const res = await fetch('http://localhost:5001/ceramic/version')
expect(res.ok)
const data = await res.json()
console.log('version', data.version)
})

test('create model', async () => {
await client.registerInterestModel(MODEL_STREAM_ID)

Expand Down

0 comments on commit dee76cd

Please sign in to comment.