Skip to content

Commit de0d048

Browse files
committed
Fix node_modules install and add test for user_version pragma
1 parent f3d523e commit de0d048

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ SPEC CHECKSUMS:
17851785
GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4
17861786
glog: 08b301085f15bcbb6ff8632a8ebaf239aae04e6a
17871787
hermes-engine: 06a9c6900587420b90accc394199527c64259db4
1788-
op-sqlite: 18bbfafda921a0a8443741a65fcabd291106156d
1788+
op-sqlite: 26d129a3be9edde9e3ba414ddcf97224df177d59
17891789
RCT-Folly: bf5c0376ffe4dd2cf438dcf86db385df9fdce648
17901790
RCTDeprecation: fb7d408617e25d7f537940000d766d60149c5fea
17911791
RCTRequired: 9aaf0ffcc1f41f0c671af863970ef25c422a9920

example/src/tests/queries.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,5 +706,11 @@ export function queriesTests() {
706706
await db.execute('SELECT 1; ', []);
707707
await db.execute('SELECT ?; ', [1]);
708708
});
709+
710+
it('Pragma user_version', () => {
711+
const res = db.executeSync('PRAGMA user_version');
712+
console.warn(res.rows);
713+
expect(res.rows).to.eql([{user_version: 0}]);
714+
});
709715
});
710716
}

tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "./tsconfig",
3-
"exclude": ["example", "lib"]
3+
"exclude": ["example", "lib", "docs"]
44
}

0 commit comments

Comments
 (0)