Skip to content

Commit c36266f

Browse files
committed
Remove the test case validating cleanup of incomplete CDATA closing tags and ensure proper focus styling for UI buttons
1 parent 9973e93 commit c36266f

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎packages/ui/src/components/editor/panel/Button/Button.module.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
}
2020

2121
&:focus {
22+
outline-offset: 2px;
2223
outline: 1px solid var(--vscode-focusBorder);
2324
}
2425

‎packages/vscode/src/utils/cleanup-api-response/cleanup-api-response.spec.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ describe('cleanup_api_response', () => {
4848
expect(cleanup_api_response({ content })).toBe('const a = 1;')
4949
})
5050

51-
it('should handle incomplete CDATA closing tag', () => {
52-
const content = '<![CDATA[const a = 1;]]'
53-
expect(cleanup_api_response({ content })).toBe('const a = 1;')
54-
})
55-
5651
it('should remove DOCTYPE declaration', () => {
5752
const content = '<!DOCTYPE html>\n<html></html>'
5853
expect(cleanup_api_response({ content })).toBe('<html></html>')

0 commit comments

Comments
 (0)