chore(ci): add explicit checks and Claude diagnosis (#664)

This commit is contained in:
rahim
2026-02-28 23:33:22 -08:00
committed by GitHub
parent 7c8b9c00d9
commit 50bf91ed87
7 changed files with 216 additions and 21 deletions
@@ -42,14 +42,14 @@ describe('PiPButtonCore', () => {
});
describe('getLabel', () => {
it('returns Enter PiP when not in PiP', () => {
it('returns Enter picture-in-picture when not in PiP', () => {
const core = new PiPButtonCore();
expect(core.getLabel(createState({ pip: false }))).toBe('Enter PiP');
expect(core.getLabel(createState({ pip: false }))).toBe('Enter picture-in-picture');
});
it('returns Exit PiP when in PiP', () => {
it('returns Exit picture-in-picture when in PiP', () => {
const core = new PiPButtonCore();
expect(core.getLabel(createState({ pip: true }))).toBe('Exit PiP');
expect(core.getLabel(createState({ pip: true }))).toBe('Exit picture-in-picture');
});
it('returns custom string label', () => {
@@ -69,7 +69,7 @@ describe('PiPButtonCore', () => {
it('returns aria-label', () => {
const core = new PiPButtonCore();
const attrs = core.getAttrs(createState());
expect(attrs['aria-label']).toBe('Enter PiP');
expect(attrs['aria-label']).toBe('Enter picture-in-picture');
});
it('sets aria-disabled when disabled', () => {