We're cooked. <skull emoji> - Added options page for YAML palette editing, live color preview, and diagnostics. - Implemented theme engine to parse Gogh YAML palettes and derive semantic themes. - Configured TypeScript and Vite for building the extension. - Created new tab and popup HTML pages with corresponding scripts and styles. - Established storage management for user configurations in Chrome storage. - Added icons for the extension and updated manifest for MV3 compatibility.
11 lines
354 B
JavaScript
11 lines
354 B
JavaScript
import * as settingsModule from "./settings";
|
|
|
|
describe("settings", () => {
|
|
test("has a preset configuration key", () => {
|
|
const presetConfig = settingsModule.PRESET_CONFIGURATION;
|
|
const keys = Object.keys(presetConfig);
|
|
expect(keys.length).toBe(1);
|
|
expect(presetConfig["storageValue"]).toBe("https://clydedsouza.net");
|
|
});
|
|
});
|