Skip to content

Commit 227ef63

Browse files
committed
AUT-4297: Change names to reflect new app grouping
1 parent 62dc15c commit 227ef63

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/utils/get-channel-specific-error-message.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { logger } from "./logger.js";
22
export function getChannelSpecificErrorMessage(
33
webMessage: string,
4-
isStrategicAppChannel: boolean,
4+
isAnAppChannel: boolean,
55
messageMappings: Record<string, string>
66
): string {
7-
if (!isStrategicAppChannel) {
7+
if (!isAnAppChannel) {
88
return webMessage;
99
}
1010

test/unit/utils/get-channel-specific-error-message.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const mappings = {
66
};
77

88
describe("getChannelSpecificErrorMessage", () => {
9-
describe("where the channel is not mobile", () => {
9+
describe("where the channel is not an app", () => {
1010
describe("and the webMessage is not mapped", () => {
1111
it("should return the original webMessage", () => {
1212
expect(
@@ -31,7 +31,7 @@ describe("getChannelSpecificErrorMessage", () => {
3131
});
3232
});
3333

34-
describe("where the channel is mobile", () => {
34+
describe("where the channel is an app", () => {
3535
describe("and the webMessage is not mapped", () => {
3636
it("should return the original webMessage", () => {
3737
expect(

0 commit comments

Comments
 (0)