refactor: move formatting related code into separate file (#4568)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
co-authored by
Alexandr
parent
c4a59b5afa
commit
5df2e634e9
+3
-2
@@ -1,14 +1,15 @@
|
||||
// @ts-check
|
||||
|
||||
import { describe, expect, it } from "@jest/globals";
|
||||
import { queryByTestId } from "@testing-library/dom";
|
||||
import "@testing-library/jest-dom";
|
||||
import {
|
||||
encodeHTML,
|
||||
formatBytes,
|
||||
kFormatter,
|
||||
parseBoolean,
|
||||
renderError,
|
||||
wrapTextMultiline,
|
||||
} from "../src/common/utils.js";
|
||||
import { formatBytes, kFormatter } from "../src/common/fmt.js";
|
||||
|
||||
describe("Test utils.js", () => {
|
||||
it("should test kFormatter default behavior", () => {
|
||||
|
||||
Reference in New Issue
Block a user