Questions tagged [gts]

GTS is part of the AOSP's Comparability Program.

7 questions
3
votes
1 answer

How does the CTS tool determines the modules or number of test to be run on any particular android device?

I have executed CTS in 2 different android devices (Android phone and Android TV), the number of test cases and modules differs for both . As per my understanding the supported modules and related test are populated . I wish to know that how the…
Sanyal
  • 864
  • 10
  • 22
1
vote
1 answer

Error deploying firebase functions after initialising gts

Intention: I want to use Google's TypeScript style guide gts in my Firebase Functions project. Expected Result: The command firebase deploy --only functions should still successfully deploy my functions without errors after running npx gts…
Sound Conception
  • 5,263
  • 5
  • 30
  • 47
1
vote
1 answer

WebStorm "eslint --fix on save" feature doesn't work. But in terminal ESLint works well

I am using "eslint --fix on save" functionality. Yesterday it stopped working. But it still works well in terminal. This problem appears only in WebStorm. IDE returns error: Error: Failed to load plugin '@typescript-eslint' declared in…
yury.hrynko
  • 410
  • 4
  • 11
1
vote
1 answer

Jest Type definitions are not working on a Typescript project

I've started a new Typescript project with GTS. The typings are working fine for regular *.ts files but nothing I've tried works to get *.spec.ts files to work. Problem Every jest function is marked red by ESLint in VS code. The message will say…
austinthedeveloper
  • 2,401
  • 19
  • 27
1
vote
1 answer

Typescript lint what's the proper way to declare any type with "no-any": true

I want to use gts in my project. It has the rule in tslint.json "no-any": true. That rule totally forbids using any keyword anywhere in the code. What's the common use case of dealing with it function can accept any type. I'm aware that I can…
deathangel908
  • 8,601
  • 8
  • 47
  • 81
0
votes
0 answers

R Converting dataframe object to hts object

I have an aggregated hierarchical dataset (aggregated per hour) as below TIME level1 level2 n 1 2019-11-29 00:00:00 A a 1 2 2019-11-29 00:00:00 B a 1 3…
Praveen
  • 2,137
  • 1
  • 18
  • 21
0
votes
1 answer

understanding error message from forecast.gts

I'm struggling with creating a forecast using the forecast.gts function. I'm getting an error message/warning that I do not understand and do need some guidance in where to look so I can find out how to setup the right forecast. The code that i'm…
Jan Boldt
  • 135
  • 10