mirror of
https://github.com/apache/superset.git
synced 2026-04-13 21:24:28 +00:00
chore(lint): migrate Jest lint rules from eslint to oxlint (#37787)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ const testData = [
|
||||
];
|
||||
|
||||
describe('sortAlphanumericCaseInsensitive', () => {
|
||||
it('Sort rows', () => {
|
||||
test('Sort rows', () => {
|
||||
const sorted = [...testData].sort((a, b) =>
|
||||
// @ts-expect-error
|
||||
sortAlphanumericCaseInsensitive(a, b, 'col'),
|
||||
@@ -185,7 +185,7 @@ const testDataMulti: Array<RecursivePartial<Row<object>>> = [
|
||||
];
|
||||
|
||||
describe('sortAlphanumericCaseInsensitiveMulti', () => {
|
||||
it('Sort rows', () => {
|
||||
test('Sort rows', () => {
|
||||
const sorted = defaultOrderByFn(
|
||||
[...testDataMulti] as Array<Row<object>>,
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user