Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/vitest/os-settings-about-theme.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { describe, expect, test } from 'vitest';
const root = join( __dirname, '../..' );
const css = readFileSync( join( root, 'assets/css/os-settings.css' ), 'utf8' );
const aboutStart = css.indexOf( '/*\n * About tab' );
const aboutEnd = css.indexOf( '/* Apps & Icons section', aboutStart );
const nextSection = css.indexOf( '\n/*', aboutStart + 1 );
const aboutEnd = -1 === nextSection ? css.length : nextSection;
const aboutCss = css.slice( aboutStart, aboutEnd );

describe( 'OS Settings — About theme contract', () => {
Expand Down