mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move tests to new package too
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
bdeaeba517
commit
c7cfb62526
@ -3,7 +3,7 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { getConvertedParts } from "../name-parts";
|
import { getConvertedParts } from "./name-parts";
|
||||||
|
|
||||||
describe("getConvertedParts", () => {
|
describe("getConvertedParts", () => {
|
||||||
it.each([
|
it.each([
|
||||||
@ -3,7 +3,7 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { convertKubectlJsonPathToNodeJsonPath, safeJSONPathValue } from "../jsonPath";
|
import { convertKubectlJsonPathToNodeJsonPath, safeJSONPathValue } from "./jsonPath";
|
||||||
|
|
||||||
describe("convertKubectlJsonPathToNodeJsonPath", () => {
|
describe("convertKubectlJsonPathToNodeJsonPath", () => {
|
||||||
it("should convert \\. to use indexed notation", () => {
|
it("should convert \\. to use indexed notation", () => {
|
||||||
@ -3,7 +3,7 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { metricUnitsToNumber } from "../metricUnitsToNumber";
|
import { metricUnitsToNumber } from "./metricUnitsToNumber";
|
||||||
|
|
||||||
describe("metricUnitsToNumber tests", () => {
|
describe("metricUnitsToNumber tests", () => {
|
||||||
test("plain number", () => {
|
test("plain number", () => {
|
||||||
Loading…
Reference in New Issue
Block a user