mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(ci): add explicit checks and Claude diagnosis (#664)
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user