mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed testcase
This commit is contained in:
parent
82554ffd67
commit
f4b29b5782
@ -276,7 +276,7 @@ describe('templateSrv', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('multi value and percentencode format should render percent-encoded string', function() {
|
it('multi value and percentencode format should render percent-encoded string', function() {
|
||||||
var result = _templateSrv.formatValue(['foo()bar BAZ', 'test2'], 'percentencode');
|
const result = _templateSrv.formatValue(['foo()bar BAZ', 'test2'], 'percentencode');
|
||||||
expect(result).toBe('%7bfoo%28%29bar%20BAZ%2ctest2%7d');
|
expect(result).toBe('%7bfoo%28%29bar%20BAZ%2ctest2%7d');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user