Skip to content

Commit 85759f7

Browse files
committed
remove unused imports
1 parent 3b0a8b4 commit 85759f7

19 files changed

+16
-38
lines changed

test/unit/modules/Ajax.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import TabulatorFull from '../../../src/js/core/TabulatorFull.js';
2-
import Ajax from '../../../src/js/modules/Ajax/Ajax.js';
32

43
describe('Ajax', function(){
54
let table, ajax;
@@ -158,4 +157,4 @@ describe('Ajax', function(){
158157
done();
159158
});
160159
});
161-
});
160+
});

test/unit/modules/Clipboard.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import TabulatorFull from '../../../src/js/core/TabulatorFull.js';
2-
import Clipboard from '../../../src/js/modules/Clipboard/Clipboard.js';
32

43
describe('Clipboard', function(){
54
let table, clipboard;
@@ -182,4 +181,4 @@ describe('Clipboard', function(){
182181

183182
expect(clipboard.getPasteData(event2)).toBe("original data");
184183
});
185-
});
184+
});

test/unit/modules/GroupRows.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Module from '../../../src/js/core/Module.js';
22
import GroupRows from '../../../src/js/modules/GroupRows/GroupRows.js';
3-
import Group from '../../../src/js/modules/GroupRows/Group.js';
43

54
// Override the Module methods that interact with the table to avoid dependency issues
65
const originalRegisterTableOption = Module.prototype.registerTableOption;
@@ -95,4 +94,4 @@ describe('GroupRows', function(){
9594
expect(result).toContain('(3 items)');
9695
});
9796
});
98-
});
97+
});

test/unit/modules/HtmlTableImport.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import HtmlTableImport from "../../../src/js/modules/HtmlTableImport/HtmlTableImport";
32

43
describe("HtmlTableImport module", () => {
@@ -448,4 +447,4 @@ describe("HtmlTableImport module", () => {
448447
expect(mockTable.options.data[0].custom_age).toBe("25");
449448
expect(mockTable.options.data[0].city).toBe("New York");
450449
});
451-
});
450+
});

test/unit/modules/Import.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import Import from "../../../src/js/modules/Import/Import";
32
import defaultImporters from "../../../src/js/modules/Import/defaults/importers";
43

@@ -390,4 +389,4 @@ describe("Import module", () => {
390389
// Verify result
391390
expect(result).toEqual([{ name: "Imported" }]);
392391
});
393-
});
392+
});

test/unit/modules/Interaction.spec.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import Interaction from "../../../src/js/modules/Interaction/Interaction";
3-
import Cell from "../../../src/js/core/cell/Cell";
4-
import Column from "../../../src/js/core/column/Column";
52

63
describe("Interaction module", () => {
74
/** @type {Interaction} */
@@ -394,4 +391,4 @@ describe("Interaction module", () => {
394391
// Verify event was not prevented (early return)
395392
expect(mockEvent.preventDefault).not.toHaveBeenCalled();
396393
});
397-
});
394+
});

test/unit/modules/Keybindings.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import Keybindings from "../../../src/js/modules/Keybindings/Keybindings";
3-
import defaultBindings from "../../../src/js/modules/Keybindings/defaults/bindings.js";
42

53
describe("Keybindings module", () => {
64
/** @type {Keybindings} */
@@ -305,4 +303,4 @@ describe("Keybindings module", () => {
305303
expect(keybindingsMod.dispatch).toHaveBeenCalledWith(`keybinding-${action.replace("nav", "nav-").toLowerCase()}`, events[action]);
306304
});
307305
});
308-
});
306+
});

test/unit/modules/Layout.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import Layout from "../../../src/js/modules/Layout/Layout";
32
import defaultModes from "../../../src/js/modules/Layout/defaults/modes";
43

@@ -228,4 +227,4 @@ describe("Layout module", () => {
228227
// Verify row height normalization was called (due to textarea formatter)
229228
expect(mockTable.rowManager.normalizeHeight).toHaveBeenCalledWith(true);
230229
});
231-
});
230+
});

test/unit/modules/Localize.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import Localize from "../../../src/js/modules/Localize/Localize";
32

43
describe("Localize module", () => {
@@ -323,4 +322,4 @@ describe("Localize module", () => {
323322
expect(callback1).toHaveBeenCalledWith("artículo", localizeMod.lang);
324323
expect(callback2).toHaveBeenCalledWith("artículo", localizeMod.lang);
325324
});
326-
});
325+
});

test/unit/modules/MoveColumns.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import TabulatorFull from "../../../src/js/core/TabulatorFull";
21
import MoveColumns from "../../../src/js/modules/MoveColumns/MoveColumns";
32
import Helpers from "../../../src/js/core/tools/Helpers";
43

@@ -727,4 +726,4 @@ describe("MoveColumns module", () => {
727726
// Verify setTimeout was called (indicating the auto scroll code was executed)
728727
expect(setTimeoutSpy).toHaveBeenCalled();
729728
});
730-
});
729+
});

0 commit comments

Comments
 (0)