Skip to content

Commit e26bf27

Browse files
Cleanup tests
1 parent dc0b361 commit e26bf27

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/powersync-db-collection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dependencies": {
66
"@standard-schema/spec": "^1.0.0",
77
"@tanstack/db": "workspace:*",
8-
"@tanstack/store": "^0.7.7",
8+
"@tanstack/store": "^0.8.0",
99
"debug": "^4.4.3",
1010
"p-defer": "^4.0.1"
1111
},

packages/powersync-db-collection/tests/powersync.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ describe(`PowerSync Integration`, () => {
9696
// should validate inputs
9797
try {
9898
collection.insert({} as any)
99-
console.log(`failed`)
10099
} catch (ex) {
101100
expect(ex instanceof SchemaValidationError).true
102101
if (ex instanceof SchemaValidationError) {
@@ -136,7 +135,6 @@ describe(`PowerSync Integration`, () => {
136135
} catch (ex) {
137136
expect(ex instanceof SchemaValidationError).true
138137
if (ex instanceof SchemaValidationError) {
139-
console.log(ex)
140138
expect(ex.message).contains(errorMessage)
141139
}
142140
}
@@ -151,11 +149,9 @@ describe(`PowerSync Integration`, () => {
151149
// should validate inputs
152150
try {
153151
collection.insert({} as any)
154-
console.log(`failed`)
155152
} catch (ex) {
156153
expect(ex instanceof SchemaValidationError).true
157154
if (ex instanceof SchemaValidationError) {
158-
console.log(ex)
159155
expect(ex.message).contains(`Required - path: id`)
160156
}
161157
}

0 commit comments

Comments
 (0)