mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
Introduce system defaults (vs system overrides) (#6724)
This commit is contained in:
parent
1918f4466b
commit
04953d60c1
9 changed files with 241 additions and 26 deletions
|
|
@ -22,6 +22,7 @@ describe('<MarkdownDisplay />', () => {
|
|||
{ path: '', settings: {} },
|
||||
{ path: '', settings: {} },
|
||||
{ path: '', settings: {} },
|
||||
{ path: '', settings: {} },
|
||||
[],
|
||||
true,
|
||||
);
|
||||
|
|
@ -221,6 +222,7 @@ Another paragraph.
|
|||
it('hides line numbers in code blocks when showLineNumbers is false', () => {
|
||||
const text = '```javascript\nconst x = 1;\n```'.replace(/\n/g, EOL);
|
||||
const settings = new LoadedSettings(
|
||||
{ path: '', settings: {} },
|
||||
{ path: '', settings: {} },
|
||||
{ path: '', settings: { showLineNumbers: false } },
|
||||
{ path: '', settings: {} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue