Skip to content

Commit 14e1abd

Browse files
committed
fix: Fix test.
1 parent d502916 commit 14e1abd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/readEventTypes.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ suite('readEventTypes', { timeout: 20_000 }, () => {
3232

3333
const firstEvent: EventCandidate = {
3434
source: 'https://www.eventsourcingdb.io',
35-
subject: '/test/1',
35+
subject: '/test',
3636
type: 'io.eventsourcingdb.test.foo',
3737
data: {
3838
value: 23,
@@ -41,7 +41,7 @@ suite('readEventTypes', { timeout: 20_000 }, () => {
4141

4242
const secondEvent: EventCandidate = {
4343
source: 'https://www.eventsourcingdb.io',
44-
subject: '/test/2',
44+
subject: '/test',
4545
type: 'io.eventsourcingdb.test.bar',
4646
data: {
4747
value: 42,

0 commit comments

Comments
 (0)