Skip to content

Commit

Permalink
Fix: Fix linting and docs for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaleb Hornsby committed Mar 6, 2019
1 parent 3720c70 commit 09528bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
3 changes: 0 additions & 3 deletions manual_test_nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@ It should stop after 10 seconds with the proper halting message
## Testing resource proxy

`npm start -- --resourceRoutes`

Open <http://localhost:3000/echo/foo/bar?baz=qux> in your browser. Notice how
querystrings also work now.
40 changes: 20 additions & 20 deletions test/integration/offline.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,28 +760,28 @@ describe('Offline', () => {
before(done => {
serviceBuilder = new ServerlessBuilder();
serviceBuilder.serverless.service.resources = {
"Resources": {
"EchoProxyResource": {
"Type": "AWS::ApiGateway::Resource",
"Properties": {
"PathPart": "echo/{proxy+}"
}
Resources: {
EchoProxyResource: {
Type: 'AWS::ApiGateway::Resource',
Properties: {
PathPart: 'echo/{proxy+}',
},
},
"EchoProxyMethod": {
"Type": "AWS::ApiGateway::Method",
"Properties": {
"ResourceId": {
"Ref": "EchoProxyResource"
EchoProxyMethod: {
Type: 'AWS::ApiGateway::Method',
Properties: {
ResourceId: {
Ref: 'EchoProxyResource',
},
"HttpMethod": "ANY",
"Integration": {
"IntegrationHttpMethod": "ANY",
"Type": "HTTP_PROXY",
"Uri": "http://mockbin.org/request/{proxy}"
}
}
}
}
HttpMethod: 'ANY',
Integration: {
IntegrationHttpMethod: 'ANY',
Type: 'HTTP_PROXY',
Uri: 'http://mockbin.org/request/{proxy}',
},
},
},
},
};
done();
});
Expand Down

0 comments on commit 09528bf

Please sign in to comment.