Chore: Set tsconfig target to ES6 (#44842)

* chore(tsconfig): update grafana/tsconfig to 1.2.0 for outputting es6

* rewrote the unsubscription part to use first().

* test: update failing tests to work with es6 output

* removed bug where we dispatch a promise instead of an array of ritch history.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
This commit is contained in:
Jack Westbrook
2022-02-10 14:37:39 +01:00
committed by GitHub
co-authored by Marcus Andersson
parent 57ecabf319
commit 979907e9dd
13 changed files with 42 additions and 50 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
"@babel/preset-env": "7.16.11",
"@cypress/webpack-preprocessor": "5.11.0",
"@grafana/e2e-selectors": "8.5.0-pre",
"@grafana/tsconfig": "^1.0.0-rc1",
"@grafana/tsconfig": "^1.2.0-rc1",
"@mochajs/json-file-reporter": "^1.2.0",
"babel-loader": "8.2.3",
"blink-diff": "1.0.13",