Skip to content

Commit

Permalink
Merge branch 'main' into update-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
brettchalupa authored Jul 3, 2024
2 parents 9526875 + 59054ad commit 24cda98
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/graphql-docs/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'erb'
require 'fileutils'
require 'sass-embedded'
require 'ostruct'

module GraphQLDocs
class Generator
Expand Down
1 change: 1 addition & 0 deletions lib/graphql-docs/helpers.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require 'commonmarker'
require 'ostruct'

module GraphQLDocs
module Helpers
Expand Down
1 change: 1 addition & 0 deletions lib/graphql-docs/renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'html/pipeline'
require 'yaml'
require 'extended-markdown-filter'
require 'ostruct'

module GraphQLDocs
class Renderer
Expand Down
3 changes: 3 additions & 0 deletions test/graphql-docs/generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def test_that_it_sets_classes
end

def test_that_named_query_root_generates_fields
skip("graphql 2.2.0+ causes this to fail")
options = deep_copy(GraphQLDocs::Configuration::GRAPHQLDOCS_DEFAULTS)
options[:output_dir] = @output_dir

Expand Down Expand Up @@ -196,6 +197,7 @@ def test_that_markdown_preserves_whitespace
end

def test_that_empty_html_lines_not_interpreted_by_markdown
skip("graphql 2.2.0+ causes this to fail")
options = deep_copy(GraphQLDocs::Configuration::GRAPHQLDOCS_DEFAULTS)
options[:output_dir] = @output_dir

Expand All @@ -208,6 +210,7 @@ def test_that_empty_html_lines_not_interpreted_by_markdown
end

def test_that_non_empty_html_lines_not_interpreted_by_markdown
skip("graphql 2.2.0+ causes this to fail")
options = deep_copy(GraphQLDocs::Configuration::GRAPHQLDOCS_DEFAULTS)
options[:output_dir] = @output_dir

Expand Down

0 comments on commit 24cda98

Please sign in to comment.