diff --git a/frontend/src/companiesServiceLineCalls.contract.test.ts b/frontend/src/companiesServiceLineCalls.contract.test.ts index 1481495..4aac6e9 100644 --- a/frontend/src/companiesServiceLineCalls.contract.test.ts +++ b/frontend/src/companiesServiceLineCalls.contract.test.ts @@ -5,19 +5,19 @@ import { describe, expect, it } from 'vitest' const client = readFileSync( new URL('../../sky_phone/source/client/main.lua', import.meta.url), 'utf8', -) +).replace(/\r\n/g, '\n') const companiesServer = readFileSync( new URL('../../sky_phone/source/server/companies.lua', import.meta.url), 'utf8', -) +).replace(/\r\n/g, '\n') const callsServer = readFileSync( new URL('../../sky_phone/source/server/calls.lua', import.meta.url), 'utf8', -) +).replace(/\r\n/g, '\n') const companiesStore = readFileSync( new URL('./stores/companies.ts', import.meta.url), 'utf8', -) +).replace(/\r\n/g, '\n') const apostrophe = String.fromCharCode(39) const quote = String.fromCharCode(34) diff --git a/frontend/src/views/apps/CompaniesApp.conversation.contract.test.ts b/frontend/src/views/apps/CompaniesApp.conversation.contract.test.ts index b4dc964..da641f2 100644 --- a/frontend/src/views/apps/CompaniesApp.conversation.contract.test.ts +++ b/frontend/src/views/apps/CompaniesApp.conversation.contract.test.ts @@ -5,7 +5,7 @@ import { describe, expect, it } from 'vitest' const source = readFileSync( new URL('./CompaniesApp.vue', import.meta.url), 'utf8', -) +).replace(/\r\n/g, '\n') const scriptSource = source.slice(0, source.indexOf('')) const requestBranchStart = source.indexOf( '