diff --git a/packages/react/components/alert/test/Alert.native.test.tsx b/packages/react/components/alert/test/Alert.native.test.tsx
index f252ae96..f1d9c4bb 100644
--- a/packages/react/components/alert/test/Alert.native.test.tsx
+++ b/packages/react/components/alert/test/Alert.native.test.tsx
@@ -9,7 +9,7 @@ describe('Alert', () => {
,
diff --git a/packages/react/components/input/test/Input.native.test.tsx b/packages/react/components/input/test/Input.native.test.tsx
index 28e454b8..89fec3d7 100644
--- a/packages/react/components/input/test/Input.native.test.tsx
+++ b/packages/react/components/input/test/Input.native.test.tsx
@@ -5,9 +5,9 @@ import * as React from "react";
import { Platform, PlatformOSType } from "react-native";
import {
StatusState,
- getAlertStyle,
getColorStyle,
TrilogyColor,
+ getStatusStyle,
} from "../../../objects";
import Input from "../Input.native";
import {
@@ -91,9 +91,9 @@ describe("Input component", () => {
borderWidth: 1,
borderRadius: 3,
borderColor:
- (state === "success" && getAlertStyle(StatusState.SUCCESS)) ||
- (state === "warning" && getAlertStyle(StatusState.WARNING)) ||
- (state === "error" && getAlertStyle(StatusState.ERROR)) ||
+ (state === "success" && getStatusStyle(StatusState.SUCCESS)) ||
+ (state === "warning" && getStatusStyle(StatusState.WARNING)) ||
+ (state === "error" && getStatusStyle(StatusState.ERROR)) ||
(state === "default" && getColorStyle(TrilogyColor.MAIN)) ||
getColorStyle(TrilogyColor.MAIN),
height: 46,
diff --git a/packages/react/components/switch/test/Switch.native.test.tsx b/packages/react/components/switch/test/Switch.native.test.tsx
index 58d3559d..05e80a8b 100644
--- a/packages/react/components/switch/test/Switch.native.test.tsx
+++ b/packages/react/components/switch/test/Switch.native.test.tsx
@@ -3,9 +3,9 @@ import { render } from "@testing-library/react-native";
import * as React from "react";
import {
StatusState,
- getAlertStyle,
getColorStyle,
TrilogyColor,
+ getStatusStyle,
} from "../../../objects";
import Switch from "../Switch.native";
@@ -43,12 +43,12 @@ describe("Switch component", () => {
});
colors.forEach((color) => {
- test(`true trackColor should have ${getAlertStyle(
+ test(`true trackColor should have ${getStatusStyle(
color
)} color`, async () => {
- const { getByTestId } = render();
+ const { getByTestId } = render();
expect(getByTestId("switch-id").props.onTintColor).toBe(
- getAlertStyle(color)
+ getStatusStyle(color)
);
});
});