testing: Add JavaScript compatibility test suite

This is essentially an import of the libSQL test suite.
This commit is contained in:
Pekka Enberg
2025-07-29 14:22:30 +03:00
parent 795081b868
commit cace7abcd2
5 changed files with 3242 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{
"name": "turso-integration-tests",
"type": "module",
"private": true,
"scripts": {
"test": "npm run test:turso && npm run test:serverless && npm run test:better-sqlite3",
"test:turso": "PROVIDER=turso ava __test__/*.test.js",
"test:serverless": "PROVIDER=serverless ava __test__/async.test.js",
"test:better-sqlite3": "PROVIDER=better-sqlite3 ava __test__/sync.test.js"
},
"devDependencies": {
"ava": "^5.3.0"
},
"dependencies": {
"@tursodatabase/turso": "../../bindings/javascript",
"@tursodatabase/serverless": "../../packages/turso-serverless",
"better-sqlite3": "^11.9.1"
}
}