mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 16:08:34 +01:00
Remove use of __dirname from main process
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright 2018 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { join } from 'node:path';
|
||||
import { assert } from 'chai';
|
||||
import { stub } from 'sinon';
|
||||
import type { MenuItemConstructorOptions } from 'electron';
|
||||
@@ -214,6 +215,7 @@ describe('createTemplate', () => {
|
||||
};
|
||||
|
||||
const { i18n } = loadLocale({
|
||||
rootDir: join(__dirname, '..', '..', '..'),
|
||||
hourCyclePreference: HourCyclePreference.UnknownPreference,
|
||||
isPackaged: false,
|
||||
localeDirectionTestingOverride: null,
|
||||
|
||||
Reference in New Issue
Block a user