From 17570dc5d96a3fc6c531ee7c34cb84a3905d3bc0 Mon Sep 17 00:00:00 2001 From: Andre Kohn Date: Tue, 7 Dec 2021 09:07:01 +0100 Subject: [PATCH] chore: rename regression tests --- .../duckdb-wasm/test/regression/github_332.test.ts | 2 +- .../duckdb-wasm/test/regression/github_334.test.ts | 2 +- .../duckdb-wasm/test/regression/github_393.test.ts | 2 +- packages/duckdb-wasm/test/regression/index.ts | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/duckdb-wasm/test/regression/github_332.test.ts b/packages/duckdb-wasm/test/regression/github_332.test.ts index 636d4a9d7..aeafa37c9 100644 --- a/packages/duckdb-wasm/test/regression/github_332.test.ts +++ b/packages/duckdb-wasm/test/regression/github_332.test.ts @@ -2,7 +2,7 @@ import * as duckdb from '../../src'; import * as arrow from 'apache-arrow'; // https://github.com/duckdb/duckdb-wasm/issues/332 -export function testGitHubIssue332(db: () => duckdb.AsyncDuckDB): void { +export function test332(db: () => duckdb.AsyncDuckDB): void { let conn: duckdb.AsyncDuckDBConnection; beforeEach(async () => { await db().flushFiles(); diff --git a/packages/duckdb-wasm/test/regression/github_334.test.ts b/packages/duckdb-wasm/test/regression/github_334.test.ts index 3ddda4efc..49ff22518 100644 --- a/packages/duckdb-wasm/test/regression/github_334.test.ts +++ b/packages/duckdb-wasm/test/regression/github_334.test.ts @@ -2,7 +2,7 @@ import * as duckdb from '../../src'; import * as arrow from 'apache-arrow'; // https://github.com/duckdb/duckdb-wasm/issues/334 -export function testGitHubIssue334(adb: () => duckdb.AsyncDuckDB): void { +export function test334(adb: () => duckdb.AsyncDuckDB): void { describe('GitHub issues', () => { describe('334', () => { it('CSV insert', async () => { diff --git a/packages/duckdb-wasm/test/regression/github_393.test.ts b/packages/duckdb-wasm/test/regression/github_393.test.ts index 3d3487f0a..f96a599db 100644 --- a/packages/duckdb-wasm/test/regression/github_393.test.ts +++ b/packages/duckdb-wasm/test/regression/github_393.test.ts @@ -2,7 +2,7 @@ import * as duckdb from '../../src'; import * as arrow from 'apache-arrow'; // https://github.com/duckdb/duckdb-wasm/issues/393 -export function testGitHubIssue393(db: () => duckdb.AsyncDuckDB): void { +export function test393(db: () => duckdb.AsyncDuckDB): void { let conn: duckdb.AsyncDuckDBConnection | null = null; beforeEach(async () => { await db().flushFiles(); diff --git a/packages/duckdb-wasm/test/regression/index.ts b/packages/duckdb-wasm/test/regression/index.ts index f1e023b56..1bee8df53 100644 --- a/packages/duckdb-wasm/test/regression/index.ts +++ b/packages/duckdb-wasm/test/regression/index.ts @@ -1,10 +1,10 @@ import * as duckdb from '../../src/'; -import { testGitHubIssue332 } from './github_332.test'; -import { testGitHubIssue334 } from './github_334.test'; -import { testGitHubIssue393 } from './github_393.test'; +import { test332 } from './github_332.test'; +import { test334 } from './github_334.test'; +import { test393 } from './github_393.test'; export function testRegressionAsync(adb: () => duckdb.AsyncDuckDB): void { - testGitHubIssue332(adb); - testGitHubIssue334(adb); - testGitHubIssue393(adb); + test332(adb); + test334(adb); + test393(adb); }