File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11const chai = require('chai')
22chai.use(require('chai-http'))
3- const main = require('./main.pages ');
3+ const main = require('{{mainpagesPath}} ');
44const json_responses = require('{{jsonSchemaPath}}');
55const requestHelper = require('{{helperPath}}');
66require('dotenv').config()
@@ -9,7 +9,7 @@ class request extends main {
99 constructor() {
1010 // Write your constructor here, if you need
1111 super()
12- this.api = this.mainServices () // Set up the api with the endpoint based on the environment and change this according to endpoint service
12+ this.api = this.mainService () // Set up the api with the endpoint based on the environment and change this according to endpoint service
1313 this.path = " {{endpoint}}" // Set up the API path to the route endpoint
1414 }
1515
Original file line number Diff line number Diff line change 11const chai = require('chai')
22chai.use(require('chai-http'))
3- const main = require('./main.pages ');
3+ const main = require('{{mainpagesPath}} ');
44const json_responses = require('{{jsonSchemaPath}}');
55const requestHelper = require('{{helperPath}}');
66require('dotenv').config()
@@ -9,7 +9,7 @@ class request extends main {
99 constructor() {
1010 // Write your constructor here, if you need
1111 super()
12- this.api = this.mainServices () // Set up the api with the endpoint based on the environment and change this according to endpoint service
12+ this.api = this.mainService () // Set up the api with the endpoint based on the environment and change this according to endpoint service
1313 this.path = " {{endpoint}}" // Set up the API path to the route endpoint
1414 }
1515
You can’t perform that action at this time.
0 commit comments