Skip to content

Commit

Permalink
chore: rename regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ankoh committed Dec 7, 2021
1 parent 0c44f1f commit 17570dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/duckdb-wasm/test/regression/github_332.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion packages/duckdb-wasm/test/regression/github_334.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/duckdb-wasm/test/regression/github_393.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
12 changes: 6 additions & 6 deletions packages/duckdb-wasm/test/regression/index.ts
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 17570dc

Please sign in to comment.