Use Signal's spellcheck dictionary files
This commit is contained in:
8
ts/test-node/.eslintrc.js
Normal file
8
ts/test-node/.eslintrc.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
module.exports = {
|
||||
rules: {
|
||||
'@typescript-eslint/no-restricted-imports': 'off',
|
||||
},
|
||||
};
|
1
ts/test-node/.gitignore
vendored
Normal file
1
ts/test-node/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!.eslintrc.js
|
14
ts/test-node/util/createBrowserWindow_test.ts
Normal file
14
ts/test-node/util/createBrowserWindow_test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { assert } from 'chai';
|
||||
import { BrowserWindow } from 'electron';
|
||||
|
||||
import { createBrowserWindow } from '../../util/createBrowserWindow';
|
||||
|
||||
describe('createBrowserWindow', () => {
|
||||
it('returns a BrowserWindow', () => {
|
||||
const result = createBrowserWindow({ show: false });
|
||||
assert.instanceOf(result, BrowserWindow);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user