mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Rename files
This commit is contained in:
16
ts/test-node/util/theme_test.std.ts
Normal file
16
ts/test-node/util/theme_test.std.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { assert } from 'chai';
|
||||
|
||||
import { Theme, themeClassName } from '../../util/theme.std.js';
|
||||
|
||||
describe('themeClassName', () => {
|
||||
it('returns "light-theme" when passed a light theme', () => {
|
||||
assert.strictEqual(themeClassName(Theme.Light), 'light-theme');
|
||||
});
|
||||
|
||||
it('returns "dark-theme" when passed a dark theme', () => {
|
||||
assert.strictEqual(themeClassName(Theme.Dark), 'dark-theme');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user