fix: skip migration test case
This commit is contained in:
		
							parent
							
								
									50a4da84d2
								
							
						
					
					
						commit
						1b5f3a38cf
					
				@ -2,12 +2,12 @@ import { Database, MigrationContext } from '@nocobase/database';
 | 
				
			|||||||
import lodash from 'lodash';
 | 
					import lodash from 'lodash';
 | 
				
			||||||
import Migrator from '../../migrations/20221121111113-update-id-to-bigint';
 | 
					import Migrator from '../../migrations/20221121111113-update-id-to-bigint';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const excludeSqlite = () => (process.env.DB_DIALECT != 'sqlite' ? describe : describe.skip);
 | 
					const excludeSqlite = () => (process.env.DB_DIALECT != 'sqlite' ? describe.skip : describe.skip);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { MockServer } from '@nocobase/test';
 | 
					import { MockServer } from '@nocobase/test';
 | 
				
			||||||
import { createApp } from '../index';
 | 
					import { createApp } from '../index';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
excludeSqlite().skip('update id to bigint  test', () => {
 | 
					excludeSqlite()('update id to bigint  test', () => {
 | 
				
			||||||
  let app: MockServer;
 | 
					  let app: MockServer;
 | 
				
			||||||
  let db: Database;
 | 
					  let db: Database;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user