fix: skip test

This commit is contained in:
chenos 2023-02-15 14:27:47 +08:00
parent d08c7833ee
commit 50a4da84d2
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;