Support non-mobile targets (Wear OS, TV) (#180)

* Add non-mobile targets to allowlist

* Add new targets to input validator tests

* Update built input-validator.js

* Update README with new targets

* Update action.yml with new targets
This commit is contained in:
Alex Vanyo
2021-08-13 12:25:01 -05:00
committed by GitHub
parent 1bf9f17bc6
commit 4d1a61ed38
5 changed files with 33 additions and 5 deletions
+21 -1
View File
@@ -55,9 +55,29 @@ describe('target validator tests', () => {
expect(func2).not.toThrow();
const func3 = () => {
validator.checkTarget('google_apis');
validator.checkTarget('google_apis_playstore');
};
expect(func3).not.toThrow();
const func4 = () => {
validator.checkTarget('android-wear');
};
expect(func4).not.toThrow();
const func5 = () => {
validator.checkTarget('android-wear-cn');
};
expect(func5).not.toThrow();
const func6 = () => {
validator.checkTarget('android-tv');
};
expect(func6).not.toThrow();
const func7 = () => {
validator.checkTarget('google-tv');
};
expect(func7).not.toThrow();
});
});