File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed
Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ const renderRequest = async markdown => {
3636 'Content-Type' : 'text/plain' ,
3737 } ,
3838 body : markdown ,
39- timeout : 3000 ,
39+ timeout : {
40+ request : 10000
41+ }
4042 } ;
4143
4244 try {
Original file line number Diff line number Diff line change 1919 "system-test" : " c8 mocha -p -j 2 test/system.test.js --timeout=360000 --exit"
2020 },
2121 "dependencies" : {
22- "express" : " ^4.17.1 " ,
23- "markdown-it" : " ^13 .0.0"
22+ "express" : " ^4.18.2 " ,
23+ "markdown-it" : " ^14 .0.0"
2424 },
2525 "devDependencies" : {
2626 "c8" : " ^8.0.0" ,
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- 'use strict' ;
16-
17- const assert = require ( 'assert' ) ;
18- const path = require ( 'path' ) ;
19- const sinon = require ( 'sinon' ) ;
20- const supertest = require ( 'supertest' ) ;
15+ import assert from 'assert' ;
16+ import path from 'path' ;
17+ import sinon from 'sinon' ;
18+ import supertest from 'supertest' ;
2119
2220let request ;
2321
2422describe ( 'Unit Tests' , ( ) => {
2523 before ( ( ) => {
26- const app = require ( path . join ( __dirname , '..' , 'app' ) ) ;
24+ import app from path . join ( __dirname , '..' , 'app' ) ;
2725 request = supertest ( app ) ;
2826 } ) ;
2927
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- const assert = require ( 'assert' ) ;
16- const got = require ( 'got' ) ;
17- const { execSync} = require ( 'child_process' ) ;
18- const { GoogleAuth} = require ( 'google-auth-library' ) ;
15+ import assert from 'assert' ;
16+ import got from 'got' ;
17+ import { execSync } from 'child_process' ;
18+ import { GoogleAuth } from 'google-auth-library' ;
19+
1920const auth = new GoogleAuth ( ) ;
2021
2122describe ( 'End-to-End Tests' , ( ) => {
You can’t perform that action at this time.
0 commit comments