@@ -9,69 +9,6 @@ describe('target validator tests', () => {
99 expect ( func ) . toThrowError ( `Value for input.target 'some-target' is unknown. Supported options: ${ validator . VALID_TARGETS } ` ) ;
1010 } ) ;
1111
12- it ( 'Validates successfully with valid target' , ( ) => {
13- const func1 = ( ) => {
14- validator . checkTarget ( 'default' ) ;
15- } ;
16- expect ( func1 ) . not . toThrow ( ) ;
17-
18- const func2 = ( ) => {
19- validator . checkTarget ( 'google_apis' ) ;
20- } ;
21- expect ( func2 ) . not . toThrow ( ) ;
22-
23- const func3 = ( ) => {
24- validator . checkTarget ( 'aosp_atd' ) ;
25- } ;
26- expect ( func3 ) . not . toThrow ( ) ;
27-
28- const func4 = ( ) => {
29- validator . checkTarget ( 'google_atd' ) ;
30- } ;
31- expect ( func4 ) . not . toThrow ( ) ;
32-
33- const func5 = ( ) => {
34- validator . checkTarget ( 'google_apis_playstore' ) ;
35- } ;
36- expect ( func5 ) . not . toThrow ( ) ;
37-
38- const func6 = ( ) => {
39- validator . checkTarget ( 'android-wear' ) ;
40- } ;
41- expect ( func6 ) . not . toThrow ( ) ;
42-
43- const func7 = ( ) => {
44- validator . checkTarget ( 'android-wear-cn' ) ;
45- } ;
46- expect ( func7 ) . not . toThrow ( ) ;
47-
48- const func8 = ( ) => {
49- validator . checkTarget ( 'android-tv' ) ;
50- } ;
51- expect ( func8 ) . not . toThrow ( ) ;
52-
53- const func9 = ( ) => {
54- validator . checkTarget ( 'google-tv' ) ;
55- } ;
56- expect ( func9 ) . not . toThrow ( ) ;
57-
58- const func10 = ( ) => {
59- validator . checkTarget ( 'android-automotive' ) ;
60- } ;
61- expect ( func10 ) . not . toThrow ( ) ;
62-
63- const func11 = ( ) => {
64- validator . checkTarget ( 'android-automotive-playstore' ) ;
65- } ;
66- expect ( func11 ) . not . toThrow ( ) ;
67-
68- const func12 = ( ) => {
69- validator . checkTarget ( 'android-desktop' ) ;
70- } ;
71- expect ( func12 ) . not . toThrow ( ) ;
72- } ) ;
73- } ) ;
74-
7512describe ( 'arch validator tests' , ( ) => {
7613 it ( 'Throws if arch is unknown' , ( ) => {
7714 const func = ( ) => {
0 commit comments