mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
13 lines
350 B
TypeScript
13 lines
350 B
TypeScript
|
import { getVariableDependencies } from './getVariableDependencies';
|
||
|
|
||
|
describe('getVariableDependencies', () => {
|
||
|
it('Can get dependencies', () => {
|
||
|
expect(getVariableDependencies('test.$plain ${withcurly} ${withformat:csv} [[deprecated]]')).toEqual([
|
||
|
'plain',
|
||
|
'withcurly',
|
||
|
'withformat',
|
||
|
'deprecated',
|
||
|
]);
|
||
|
});
|
||
|
});
|