|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
| 3 | +exports[`GraphQL resolvers blank-lines 1`] = ` |
| 4 | +Object { |
| 5 | + "data": Object { |
| 6 | + "markdownRemark": Object { |
| 7 | + "grvscCodeBlocks": Array [ |
| 8 | + Object { |
| 9 | + "codeClassName": "grvsc-code", |
| 10 | + "defaultTheme": Object { |
| 11 | + "conditions": Array [ |
| 12 | + Object { |
| 13 | + "condition": "default", |
| 14 | + "value": null, |
| 15 | + }, |
| 16 | + ], |
| 17 | + "identifier": "Default Dark+", |
| 18 | + }, |
| 19 | + "html": "<pre class=\\"grvsc-container default-dark\\" data-language=\\"ts\\" data-index=\\"0\\"><code class=\\"grvsc-code\\"><span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"><span class=\\"mtk3\\">// You have to make sure</span></span></span> |
| 20 | +<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"></span></span> |
| 21 | +<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"><span class=\\"mtk3\\">// blank lines</span></span></span> |
| 22 | +<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"></span></span> |
| 23 | +<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"><span class=\\"mtk3\\">// don’t disappear</span></span></span></code></pre>", |
| 24 | + "index": 0, |
| 25 | + "language": "ts", |
| 26 | + "meta": Object {}, |
| 27 | + "preClassName": "grvsc-container default-dark", |
| 28 | + "text": "// You have to make sure |
| 29 | + |
| 30 | +// blank lines |
| 31 | + |
| 32 | +// don’t disappear", |
| 33 | + "tokenizedLines": Array [ |
| 34 | + Object { |
| 35 | + "attrs": Object {}, |
| 36 | + "className": "grvsc-line", |
| 37 | + "data": Object {}, |
| 38 | + "diff": null, |
| 39 | + "html": "<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"><span class=\\"mtk3\\">// You have to make sure</span></span></span>", |
| 40 | + "isHighlighted": null, |
| 41 | + "lineNumber": null, |
| 42 | + "text": "// You have to make sure", |
| 43 | + "tokens": Array [ |
| 44 | + Object { |
| 45 | + "additionalThemeTokenData": Array [], |
| 46 | + "className": "mtk3", |
| 47 | + "defaultThemeTokenData": Object { |
| 48 | + "bold": false, |
| 49 | + "className": "mtk3", |
| 50 | + "color": "#6A9955", |
| 51 | + "italic": false, |
| 52 | + "themeIdentifier": "Default Dark+", |
| 53 | + "underline": false, |
| 54 | + }, |
| 55 | + "endIndex": 2, |
| 56 | + "html": "<span class=\\"mtk3\\">//</span>", |
| 57 | + "scopes": Array [ |
| 58 | + "source.ts", |
| 59 | + "comment.line.double-slash.ts", |
| 60 | + "punctuation.definition.comment.ts", |
| 61 | + ], |
| 62 | + "startIndex": 0, |
| 63 | + "text": "//", |
| 64 | + }, |
| 65 | + Object { |
| 66 | + "additionalThemeTokenData": Array [], |
| 67 | + "className": "mtk3", |
| 68 | + "defaultThemeTokenData": Object { |
| 69 | + "bold": false, |
| 70 | + "className": "mtk3", |
| 71 | + "color": "#6A9955", |
| 72 | + "italic": false, |
| 73 | + "themeIdentifier": "Default Dark+", |
| 74 | + "underline": false, |
| 75 | + }, |
| 76 | + "endIndex": 24, |
| 77 | + "html": "<span class=\\"mtk3\\"> You have to make sure</span>", |
| 78 | + "scopes": Array [ |
| 79 | + "source.ts", |
| 80 | + "comment.line.double-slash.ts", |
| 81 | + ], |
| 82 | + "startIndex": 2, |
| 83 | + "text": " You have to make sure", |
| 84 | + }, |
| 85 | + ], |
| 86 | + }, |
| 87 | + Object { |
| 88 | + "attrs": Object {}, |
| 89 | + "className": "grvsc-line", |
| 90 | + "data": Object {}, |
| 91 | + "diff": null, |
| 92 | + "html": "<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"></span></span>", |
| 93 | + "isHighlighted": null, |
| 94 | + "lineNumber": null, |
| 95 | + "text": "", |
| 96 | + "tokens": Array [], |
| 97 | + }, |
| 98 | + Object { |
| 99 | + "attrs": Object {}, |
| 100 | + "className": "grvsc-line", |
| 101 | + "data": Object {}, |
| 102 | + "diff": null, |
| 103 | + "html": "<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"><span class=\\"mtk3\\">// blank lines</span></span></span>", |
| 104 | + "isHighlighted": null, |
| 105 | + "lineNumber": null, |
| 106 | + "text": "// blank lines", |
| 107 | + "tokens": Array [ |
| 108 | + Object { |
| 109 | + "additionalThemeTokenData": Array [], |
| 110 | + "className": "mtk3", |
| 111 | + "defaultThemeTokenData": Object { |
| 112 | + "bold": false, |
| 113 | + "className": "mtk3", |
| 114 | + "color": "#6A9955", |
| 115 | + "italic": false, |
| 116 | + "themeIdentifier": "Default Dark+", |
| 117 | + "underline": false, |
| 118 | + }, |
| 119 | + "endIndex": 2, |
| 120 | + "html": "<span class=\\"mtk3\\">//</span>", |
| 121 | + "scopes": Array [ |
| 122 | + "source.ts", |
| 123 | + "comment.line.double-slash.ts", |
| 124 | + "punctuation.definition.comment.ts", |
| 125 | + ], |
| 126 | + "startIndex": 0, |
| 127 | + "text": "//", |
| 128 | + }, |
| 129 | + Object { |
| 130 | + "additionalThemeTokenData": Array [], |
| 131 | + "className": "mtk3", |
| 132 | + "defaultThemeTokenData": Object { |
| 133 | + "bold": false, |
| 134 | + "className": "mtk3", |
| 135 | + "color": "#6A9955", |
| 136 | + "italic": false, |
| 137 | + "themeIdentifier": "Default Dark+", |
| 138 | + "underline": false, |
| 139 | + }, |
| 140 | + "endIndex": 14, |
| 141 | + "html": "<span class=\\"mtk3\\"> blank lines</span>", |
| 142 | + "scopes": Array [ |
| 143 | + "source.ts", |
| 144 | + "comment.line.double-slash.ts", |
| 145 | + ], |
| 146 | + "startIndex": 2, |
| 147 | + "text": " blank lines", |
| 148 | + }, |
| 149 | + ], |
| 150 | + }, |
| 151 | + Object { |
| 152 | + "attrs": Object {}, |
| 153 | + "className": "grvsc-line", |
| 154 | + "data": Object {}, |
| 155 | + "diff": null, |
| 156 | + "html": "<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"></span></span>", |
| 157 | + "isHighlighted": null, |
| 158 | + "lineNumber": null, |
| 159 | + "text": "", |
| 160 | + "tokens": Array [], |
| 161 | + }, |
| 162 | + Object { |
| 163 | + "attrs": Object {}, |
| 164 | + "className": "grvsc-line", |
| 165 | + "data": Object {}, |
| 166 | + "diff": null, |
| 167 | + "html": "<span class=\\"grvsc-line\\"><span class=\\"grvsc-source\\"><span class=\\"mtk3\\">// don’t disappear</span></span></span>", |
| 168 | + "isHighlighted": null, |
| 169 | + "lineNumber": null, |
| 170 | + "text": "// don’t disappear", |
| 171 | + "tokens": Array [ |
| 172 | + Object { |
| 173 | + "additionalThemeTokenData": Array [], |
| 174 | + "className": "mtk3", |
| 175 | + "defaultThemeTokenData": Object { |
| 176 | + "bold": false, |
| 177 | + "className": "mtk3", |
| 178 | + "color": "#6A9955", |
| 179 | + "italic": false, |
| 180 | + "themeIdentifier": "Default Dark+", |
| 181 | + "underline": false, |
| 182 | + }, |
| 183 | + "endIndex": 2, |
| 184 | + "html": "<span class=\\"mtk3\\">//</span>", |
| 185 | + "scopes": Array [ |
| 186 | + "source.ts", |
| 187 | + "comment.line.double-slash.ts", |
| 188 | + "punctuation.definition.comment.ts", |
| 189 | + ], |
| 190 | + "startIndex": 0, |
| 191 | + "text": "//", |
| 192 | + }, |
| 193 | + Object { |
| 194 | + "additionalThemeTokenData": Array [], |
| 195 | + "className": "mtk3", |
| 196 | + "defaultThemeTokenData": Object { |
| 197 | + "bold": false, |
| 198 | + "className": "mtk3", |
| 199 | + "color": "#6A9955", |
| 200 | + "italic": false, |
| 201 | + "themeIdentifier": "Default Dark+", |
| 202 | + "underline": false, |
| 203 | + }, |
| 204 | + "endIndex": 18, |
| 205 | + "html": "<span class=\\"mtk3\\"> don’t disappear</span>", |
| 206 | + "scopes": Array [ |
| 207 | + "source.ts", |
| 208 | + "comment.line.double-slash.ts", |
| 209 | + ], |
| 210 | + "startIndex": 2, |
| 211 | + "text": " don’t disappear", |
| 212 | + }, |
| 213 | + ], |
| 214 | + }, |
| 215 | + ], |
| 216 | + }, |
| 217 | + ], |
| 218 | + "grvscCodeSpans": Array [], |
| 219 | + }, |
| 220 | + }, |
| 221 | +} |
| 222 | +`; |
| 223 | + |
3 | 224 | exports[`GraphQL resolvers bug-37 1`] = `
|
4 | 225 | Object {
|
5 | 226 | "data": Object {
|
|
0 commit comments