刘光辉
6 小时以前 cf11e63b659afcc9792ab3e395f1b45d844431a8
1
2
3
4
5
6
7
8
9
10
11
import { describe, expect, it } from 'vitest';
 
import { noAllowPopupSelectTransferList } from './config';
 
describe('noAllowPopupSelectTransferList', () => {
  it('allows upload fields while retaining structural and system-field exclusions', () => {
    expect(noAllowPopupSelectTransferList).not.toContain('uploadFile');
    expect(noAllowPopupSelectTransferList).not.toContain('uploadImg');
    expect(noAllowPopupSelectTransferList).toEqual(expect.arrayContaining(['table', 'modifyUser', 'modifyTime']));
  });
});