mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-18 02:22:02 +08:00
fix(lint): pnpm format lint warning (#7080)
This commit is contained in:
@@ -29,9 +29,8 @@ describe('useSortable', () => {
|
||||
await initializeSortable();
|
||||
|
||||
// Import sortablejs to access the mocked create function
|
||||
const Sortable = await import(
|
||||
'sortablejs/modular/sortable.complete.esm.js'
|
||||
);
|
||||
const Sortable =
|
||||
await import('sortablejs/modular/sortable.complete.esm.js');
|
||||
|
||||
// Verify that Sortable.create was called with the correct parameters
|
||||
expect(Sortable.default.create).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user