grafana/public/app/features/variables
Josh Hunt 1a683e53c5
Typed variables pt2: Use type-accurate mock variables in tests (#52987)
* wip

* make diff easier to read

* Update template_srv getVariables to return new TypedVariableModel

* update VariableType to use the type from TypedVariableModel

* tidy things up

* Chore: Use type-accurate mock variables in tests

* make createBaseVariableModel take the variable type
2022-08-02 14:47:41 +01:00
..
adhoc Typed variables pt2: Use type-accurate mock variables in tests (#52987) 2022-08-02 14:47:41 +01:00
constant Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
custom Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
datasource Chore: Remove react-testing-lib from bundles (#50442) 2022-06-09 11:10:48 +02:00
editor Select: Portal menu by default (#48176) 2022-05-04 15:12:59 +01:00
inspect Variables: Optimize "timeRangeUpdated" path (#52047) 2022-07-22 16:10:10 +01:00
interval remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
pickers Dashboards: Disable variable pickers for snapshots (#52827) 2022-07-29 16:29:55 +01:00
query Typed variables pt1: Use discriminated union for variable model (#52981) 2022-08-02 10:15:25 +01:00
shared Typed variables pt1: Use discriminated union for variable model (#52981) 2022-08-02 10:15:25 +01:00
state Typed variables pt2: Use type-accurate mock variables in tests (#52987) 2022-08-02 14:47:41 +01:00
system Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
textbox Dashboards: Disable variable pickers for snapshots (#52827) 2022-07-29 16:29:55 +01:00
adapters.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
constants.ts Chore: reduces circular dependencies for variables/utils.ts (#44087) 2022-01-17 12:48:26 +01:00
getAllVariableValuesForUrl.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
getAllVariableValuesForUrl.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
guard.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
guard.ts Typed variables pt1: Use discriminated union for variable model (#52981) 2022-08-02 10:15:25 +01:00
types.ts Typed variables pt1: Use discriminated union for variable model (#52981) 2022-08-02 10:15:25 +01:00
utils.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
utils.ts SQL: Fix couple of issues in SQLDatasource (#52080) 2022-07-12 14:11:54 +02:00