File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class TwilioApiBrowser {
41
41
42
42
apiSpec = fs
43
43
. readdirSync ( __dirname )
44
- . filter ( ( filename ) => filename . match ( specPattern ) && ! filename . match ( 'twilio_preview.json' ) )
44
+ . filter ( ( filename ) => filename . match ( specPattern ) )
45
45
. map ( ( filename ) => {
46
46
const domainName = filename . match ( specPattern ) [ specNameIndex ] ;
47
47
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ describe('services', () => {
11
11
expect ( browser . domains . api . paths [ '/2010-04-01/Accounts/{AccountSid}/Calls.json' ] . operations . post ) . to . exist ;
12
12
expect ( browser . domains . api . paths [ '/2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json' ] . operations . get ) . to . exist ;
13
13
} ) ;
14
-
15
- test . it ( 'loads the JSON from disk except for preview' , ( ) => {
16
- const browser = new TwilioApiBrowser ( ) ;
17
- expect ( browser . domains . api . paths [ '/BulkExports/Exports/Jobs/{JobSid}' ] ) . to . not . exist ;
18
- } ) ;
14
+ /*
15
+ * TODO: enable it after one build is done, and the path is loaded.
16
+ * test.it('loads the JSON from disk except for preview', () => {
17
+ * const browser = new TwilioApiBrowser();
18
+ * expect(browser.domains.api.paths['/BulkExports/Exports/Jobs/{JobSid}']).to.not.exist;
19
+ * });
20
+ */
19
21
20
22
test . it ( 'loads JSONs split by version' , ( ) => {
21
23
const browser = new TwilioApiBrowser ( ) ;
You can’t perform that action at this time.
0 commit comments