Skip to content

Commit

Permalink
[js] Update all Yarn dependencies (2023-09-20) (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
depfu[bot] authored Sep 20, 2023
1 parent 25f5e5c commit d4151cc
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"glob": "^10.3.4",
"jquery": "^3.7.0",
"jstz": "^2.1.1",
"postcss": "^8.4.29",
"postcss": "^8.4.30",
"postcss-css-variables": "^0.19.0",
"postcss-extend-rule": "^4.0.0",
"postcss-import": "^15.1.0",
Expand Down
5 changes: 4 additions & 1 deletion test/controllers/api/open_api_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class Api::OpenApiControllerTest < Api::Test
puts output if warnings
refute warnings

assert output.include?("Woohoo! Your OpenAPI definition is valid.")
# redocly/openapi-core changed the format of their success message in version 1.2.0.
# https://github.com/Redocly/redocly-cli/pull/1239
# We use a robust regex here so that we can match both formats.
assert output.match?(/Woohoo! Your (Open)?API (definition|description) is valid./)
end
end
5 changes: 4 additions & 1 deletion test/system/super_scaffolding_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ def setup
test "OpenAPI V3 document is still valid" do
visit "http://localhost:3001/api/v1/openapi.yaml"
puts(output = `yarn exec redocly lint http://localhost:3001/api/v1/openapi.yaml 1> /dev/stdout 2> /dev/stdout; rm openapi.yaml`)
assert output.include?("Woohoo! Your OpenAPI definition is valid.")
# redocly/openapi-core changed the format of their success message in version 1.2.0.
# https://github.com/Redocly/redocly-cli/pull/1239
# We use a robust regex here so that we can match both formats.
assert output.match?(/Woohoo! Your (Open)?API (definition|description) is valid./)
end
end
24 changes: 12 additions & 12 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4151cc

Please sign in to comment.