From 50a4da84d253c0433c96f56dfddb84c1b57278d1 Mon Sep 17 00:00:00 2001 From: chenos Date: Wed, 15 Feb 2023 14:27:47 +0800 Subject: [PATCH] fix: skip test --- .../20221104151410-update-collections-hidden.test.ts | 4 ++-- .../src/__tests__/migrations/update-id-to-bigint.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/plugins/collection-manager/src/__tests__/migrations/20221104151410-update-collections-hidden.test.ts b/packages/plugins/collection-manager/src/__tests__/migrations/20221104151410-update-collections-hidden.test.ts index f3b29d333..c81b29d88 100644 --- a/packages/plugins/collection-manager/src/__tests__/migrations/20221104151410-update-collections-hidden.test.ts +++ b/packages/plugins/collection-manager/src/__tests__/migrations/20221104151410-update-collections-hidden.test.ts @@ -1,8 +1,8 @@ -import { Database, MigrationContext} from '@nocobase/database'; +import { Database, MigrationContext } from '@nocobase/database'; import UpdateCollectionsHiddenMigration from '../../migrations/20221104151410-update-collections-hidden'; -import { createApp } from '../index'; import { MockServer } from '@nocobase/test'; +import { createApp } from '../index'; describe('migration 20221104151410-update-collections-hidden test', () => { let app: MockServer; diff --git a/packages/plugins/collection-manager/src/__tests__/migrations/update-id-to-bigint.test.ts b/packages/plugins/collection-manager/src/__tests__/migrations/update-id-to-bigint.test.ts index 4e88826d7..b7b0c1b00 100644 --- a/packages/plugins/collection-manager/src/__tests__/migrations/update-id-to-bigint.test.ts +++ b/packages/plugins/collection-manager/src/__tests__/migrations/update-id-to-bigint.test.ts @@ -1,13 +1,13 @@ import { Database, MigrationContext } from '@nocobase/database'; -import Migrator from '../../migrations/20221121111113-update-id-to-bigint'; import lodash from 'lodash'; +import Migrator from '../../migrations/20221121111113-update-id-to-bigint'; const excludeSqlite = () => (process.env.DB_DIALECT != 'sqlite' ? describe : describe.skip); import { MockServer } from '@nocobase/test'; import { createApp } from '../index'; -excludeSqlite()('update id to bigint test', () => { +excludeSqlite().skip('update id to bigint test', () => { let app: MockServer; let db: Database;