Skip to content

Commit

Permalink
fix(test): config import
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Apr 2, 2024
1 parent d70a21c commit 4cf23fe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/db/test/unit/column-queries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '../../dist/core/cli/migration-queries.js';
import { MIGRATION_VERSION } from '../../dist/core/consts.js';
import { tableSchema } from '../../dist/core/schemas.js';
import { NOW, column, defineTable } from '../../dist/runtime/config.js';
import { NOW, column, defineTable } from '../../dist/runtime/virtual.js';

const TABLE_NAME = 'Users';

Expand Down
2 changes: 1 addition & 1 deletion packages/db/test/unit/index-queries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect } from 'chai';
import { describe, it } from 'mocha';
import { getTableChangeQueries } from '../../dist/core/cli/migration-queries.js';
import { dbConfigSchema, tableSchema } from '../../dist/core/schemas.js';
import { column } from '../../dist/runtime/config.js';
import { column } from '../../dist/runtime/virtual.js';

const userInitial = tableSchema.parse({
columns: {
Expand Down
2 changes: 1 addition & 1 deletion packages/db/test/unit/reference-queries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect } from 'chai';
import { describe, it } from 'mocha';
import { getTableChangeQueries } from '../../dist/core/cli/migration-queries.js';
import { tablesSchema } from '../../dist/core/schemas.js';
import { column, defineTable } from '../../dist/runtime/config.js';
import { column, defineTable } from '../../dist/runtime/virtual.js';

const BaseUser = defineTable({
columns: {
Expand Down
2 changes: 1 addition & 1 deletion packages/db/test/unit/reset-queries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { describe, it } from 'mocha';
import { getMigrationQueries } from '../../dist/core/cli/migration-queries.js';
import { MIGRATION_VERSION } from '../../dist/core/consts.js';
import { tableSchema } from '../../dist/core/schemas.js';
import { column, defineTable } from '../../dist/runtime/config.js';
import { column, defineTable } from '../../dist/runtime/virtual.js';

const TABLE_NAME = 'Users';

Expand Down

0 comments on commit 4cf23fe

Please sign in to comment.