File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class TwilioApiBrowser {
4141
4242 apiSpec = fs
4343 . readdirSync ( __dirname )
44- . filter ( ( filename ) => filename . match ( specPattern ) && ! filename . match ( 'twilio_preview.json' ) )
44+ . filter ( ( filename ) => filename . match ( specPattern ) )
4545 . map ( ( filename ) => {
4646 const domainName = filename . match ( specPattern ) [ specNameIndex ] ;
4747
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ describe('services', () => {
1111 expect ( browser . domains . api . paths [ '/2010-04-01/Accounts/{AccountSid}/Calls.json' ] . operations . post ) . to . exist ;
1212 expect ( browser . domains . api . paths [ '/2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json' ] . operations . get ) . to . exist ;
1313 } ) ;
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+ * enable it after one build is done, and the path is loaded.
16+ * test.it('loads the JSON from disk for preview', () => {
17+ * const browser = new TwilioApiBrowser();
18+ * expect(browser.domains.api.paths['/BulkExports/Exports/Jobs/{JobSid}']).to.exist;
19+ * });
20+ */
1921
2022 test . it ( 'loads JSONs split by version' , ( ) => {
2123 const browser = new TwilioApiBrowser ( ) ;
You can’t perform that action at this time.
0 commit comments