File
Blob: src/cloudflare/internal/test/d1/d1-api-test.js
| 1 | // Copyright (c) 2023 Cloudflare, Inc. |
| 2 | // Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | // https://opensource.org/licenses/Apache-2.0 |
| 4 | |
| 5 | import { testD1ApiQueriesHappyPath, testD1Exec } from './d1-api-test-common'; |
| 6 | |
| 7 | export const testWithoutSessions = { |
| 8 | async test(_ctr, env) { |
| 9 | await testD1ApiQueriesHappyPath(env.d1); |
| 10 | }, |
| 11 | }; |
| 12 | |
| 13 | export const testExec = { |
| 14 | async test(_ctr, env) { |
| 15 | await testD1Exec(env.d1); |
| 16 | }, |
| 17 | }; |