Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Delete two source-text checks that runtime tests already cover (#5186)

Nick Gomezc635f19ab905
diff --git a/.github/scripts/release-cascade-shape.test.mjs b/.github/scripts/release-cascade-shape.test.mjs
index 2f524d060..64de65b4f 100644
--- a/.github/scripts/release-cascade-shape.test.mjs
+++ b/.github/scripts/release-cascade-shape.test.mjs
@@ -820,15 +820,12 @@ describe('the bug lane verifies the synthetic tree at the same bar as main', ()
expect(bugLaneVerifyStep('Drop signature')).toContain("env.BUG_LANE_ARMED == 'true'");
});
- test('the one page it does send says the following silence is deliberate', () => {
+ test('the one page it does send is built by the refusal payload module', () => {
const page = bugLaneVerify.slice(
bugLaneVerify.indexOf('- name: Page on a refusal'),
bugLaneVerify.indexOf('- name: Record that this refusal was paged'),
);
expect(page).toContain('bug-lane-refusal-payload.mjs');
- expect(
- readFileSync(join(WORKFLOWS, '..', 'scripts', 'bug-lane-refusal-payload.mjs'), 'utf8'),
- ).toContain('Further identical refusals stay silent');
});
test('a suppressed refusal still leaves a trace in the run', () => {
diff --git a/packages/app/src/lib/color-themes.test.ts b/packages/app/src/lib/color-themes.test.ts
index e25832973..a888d4bfb 100644
--- a/packages/app/src/lib/color-themes.test.ts
+++ b/packages/app/src/lib/color-themes.test.ts
@@ -26,12 +26,6 @@ import {
resolveColorThemeSelection,
resolveCustomScheme,
} from './color-themes';
-import {
- COLOR_THEME_PAIR_STORAGE_KEY,
- COLOR_THEME_STORAGE_KEY,
- CUSTOM_THEME_STYLE_ID,
- SAVED_THEME_STYLE_ID,
-} from './use-apply-config-color-theme';
const here = dirname(fileURLToPath(import.meta.url));
const HEX = /^#[0-9a-f]{6}$/;
@@ -203,18 +197,6 @@ describe('registry stays in sync with its consumers', () => {
}
});
- test('the pre-paint FOUC script reads exactly the caches the apply path writes', () => {
- const html = readFileSync(resolve(here, '../../index.html'), 'utf8');
- for (const key of [
- COLOR_THEME_PAIR_STORAGE_KEY,
- COLOR_THEME_STORAGE_KEY,
- CUSTOM_THEME_STYLE_ID,
- SAVED_THEME_STYLE_ID,
- ]) {
- expect(html, key).toContain(`'${key}'`);
- }
- });
-
test('the pre-paint FOUC script carries no palette-id knowledge', () => {
const html = readFileSync(resolve(here, '../../index.html'), 'utf8');
for (const theme of COLOR_THEMES) {