Skip to content

Commit

Permalink
[DataTables] Run format
Browse files Browse the repository at this point in the history
  • Loading branch information
pentiminax committed Sep 11, 2024
1 parent 0b48b0c commit 16f4976
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/DataTables/assets/test/controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import { Application } from '@hotwired/stimulus';
import { waitFor } from '@testing-library/dom';
import DataTableController from '../src/controller';

const startDataTableTest = async (tableHtml: string): Promise<{ table: HTMLTableElement; dataTable: DataTable<any> }> => {
const startDataTableTest = async (
tableHtml: string
): Promise<{ table: HTMLTableElement; dataTable: DataTable<any> }> => {
let dataTable: DataTable<any> | null = null;

document.body.addEventListener('datatables:pre-connect', () => {
Expand Down Expand Up @@ -78,4 +80,4 @@ describe('DataTableController', () => {
['Jane', 'Smith'],
]);
});
});
});

0 comments on commit 16f4976

Please sign in to comment.