ryan 6 лет назад
Родитель
Сommit
3dd7d40718
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/features/dashboard/dashgrid/PanelChrome.test.tsx

+ 1 - 1
public/app/features/dashboard/dashgrid/PanelChrome.test.tsx

@@ -27,7 +27,7 @@ describe('PanelChrome', () => {
     expect(out).toBe('hello AAA');
   });
 
-  it('It should prefer the diret variables', () => {
+  it('But it should prefer the local variable value', () => {
     const extra = { aaa: { text: '???', value: 'XXX' } };
     const out = chrome.replaceVariables('hello $aaa and $bbb', extra);
     expect(out).toBe('hello XXX and BBB');