Skip to content

Commit

Permalink
chore: update devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
David Brockman Smoliansky committed Sep 18, 2017
1 parent cbad2b0 commit 3ca8ad2
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 22 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-eslint": "^7.1.1",
"babel-jest": "^20.0.3",
"babel-eslint": "^8.0.0",
"babel-jest": "^21.0.2",
"babel-polyfill": "^6.22.0",
"babel-preset-es2015-node4": "^2.1.1",
"eslint": "^4.3.0",
Expand All @@ -32,8 +32,8 @@
"eslint-plugin-mocha": "^4.8.0",
"eslint-plugin-springworks": "^2.0.1",
"fixture-loader": "^1.0.1",
"jest": "^18.1.0",
"semantic-release": "^6.3.2"
"jest": "^21.1.0",
"semantic-release": "^8.0.0"
},
"babel": {
"presets": [
Expand Down
18 changes: 10 additions & 8 deletions src/__tests__/__snapshots__/convert-to-markdown.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`convertToMarkdown with a valid, parsed Swagger spec providing a response_example_provider function, to generate examples for each response should return contents of a valid .md file 1`] = `
"# Swagger Petstore, version 1.0.0
Expand Down Expand Up @@ -31,7 +33,7 @@ pet response
- (array)
- (object) A pet
- name (string) The pet\'s name
- name (string) The pet's name
- tag (string) (optional)
- id (int64)
Expand All @@ -49,7 +51,7 @@ unexpected error
\`\`\`json
{
\"foo\": \"bar\"
\\"foo\\": \\"bar\\"
}
\`\`\`
Expand All @@ -66,7 +68,7 @@ Creates a new pet in the store. Duplicates are allowed
**Request Body**
- (object) A pet
- name (string) The pet\'s name
- name (string) The pet's name
- tag (string) (optional)
#### Response: 200 OK
Expand All @@ -76,7 +78,7 @@ pet response
**Schema**
- (object) A pet
- name (string) The pet\'s name
- name (string) The pet's name
- tag (string) (optional)
- id (int64)
Expand All @@ -94,7 +96,7 @@ unexpected error
\`\`\`json
{
\"foo\": \"bar\"
\\"foo\\": \\"bar\\"
}
\`\`\`
Expand All @@ -115,7 +117,7 @@ pet response
**Schema**
- (object) A pet
- name (string) The pet\'s name
- name (string) The pet's name
- tag (string) (optional)
- id (int64)
Expand All @@ -133,7 +135,7 @@ unexpected error
\`\`\`json
{
\"foo\": \"bar\"
\\"foo\\": \\"bar\\"
}
\`\`\`
Expand Down Expand Up @@ -171,7 +173,7 @@ unexpected error
\`\`\`json
{
\"foo\": \"bar\"
\\"foo\\": \\"bar\\"
}
\`\`\`
"
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/md-table.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`createTable alignment should align to a wide header 1`] = `
"| a | b | wide_header |
|---|---|-------------|
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/path-generator.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`generatePath with an API spec having mixed properties; some defined, some omitted should render markdown and omit unspecified data, e.g. descriptions, schemas 1`] = `
"### GET /pets/{id}
Expand Down
14 changes: 8 additions & 6 deletions src/__tests__/__snapshots__/prepare-spec.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`prepareSpec with a valid Swagger spec should inline all $ref references 1`] = `
Object {
"basePath": "/api",
Expand Down Expand Up @@ -25,7 +27,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand All @@ -43,7 +45,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down Expand Up @@ -145,7 +147,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down Expand Up @@ -209,7 +211,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand All @@ -232,7 +234,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down Expand Up @@ -344,7 +346,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down
10 changes: 6 additions & 4 deletions src/__tests__/__snapshots__/resolve-api-spec.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`resolveApiSpec should resolve the spec 1`] = `
Object {
"basePath": "/api",
Expand Down Expand Up @@ -80,7 +82,7 @@ Object {
"type": "integer",
},
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down Expand Up @@ -130,7 +132,7 @@ Object {
"description": "A pet",
"properties": Object {
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand All @@ -155,7 +157,7 @@ Object {
"type": "integer",
},
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down Expand Up @@ -255,7 +257,7 @@ Object {
"type": "integer",
},
"name": Object {
"description": "The pet\'s name",
"description": "The pet's name",
"type": "string",
},
"tag": Object {
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/schema-generator.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`createSchemaList with a array schema of $refs should return a list with the properties 1`] = `
"- (array)
- ($ref: \`#/definitions/Pet\`)"
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/toc-generator.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`generateTableOfContents should return the TOC section 1`] = `
"- [Endpoints](#endpoints)
- [GET /pets](#get-pets)
Expand Down

0 comments on commit 3ca8ad2

Please sign in to comment.