|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`watchFiles option should not crash if file doesn't exist should reload when file content is changed: console messages 1`] = ` |
| 4 | +Array [ |
| 5 | + "Hey.", |
| 6 | +] |
| 7 | +`; |
| 8 | + |
| 9 | +exports[`watchFiles option should not crash if file doesn't exist should reload when file content is changed: page errors 1`] = `Array []`; |
| 10 | + |
| 11 | +exports[`watchFiles option should not crash if file doesn't exist should reload when file content is changed: response status 1`] = `200`; |
| 12 | + |
| 13 | +exports[`watchFiles option should work with array config should reload when file content is changed: console messages 1`] = ` |
| 14 | +Array [ |
| 15 | + "Hey.", |
| 16 | +] |
| 17 | +`; |
| 18 | + |
| 19 | +exports[`watchFiles option should work with array config should reload when file content is changed: page errors 1`] = `Array []`; |
| 20 | + |
| 21 | +exports[`watchFiles option should work with array config should reload when file content is changed: response status 1`] = `200`; |
| 22 | + |
| 23 | +exports[`watchFiles option should work with object with multiple paths should reload when file content is changed: console messages 1`] = ` |
| 24 | +Array [ |
| 25 | + "Hey.", |
| 26 | +] |
| 27 | +`; |
| 28 | + |
| 29 | +exports[`watchFiles option should work with object with multiple paths should reload when file content is changed: page errors 1`] = `Array []`; |
| 30 | + |
| 31 | +exports[`watchFiles option should work with object with multiple paths should reload when file content is changed: response status 1`] = `200`; |
| 32 | + |
| 33 | +exports[`watchFiles option should work with object with single path should reload when file content is changed: console messages 1`] = ` |
| 34 | +Array [ |
| 35 | + "Hey.", |
| 36 | +] |
| 37 | +`; |
| 38 | + |
| 39 | +exports[`watchFiles option should work with object with single path should reload when file content is changed: page errors 1`] = `Array []`; |
| 40 | + |
| 41 | +exports[`watchFiles option should work with object with single path should reload when file content is changed: response status 1`] = `200`; |
| 42 | + |
| 43 | +exports[`watchFiles option should work with options {"interval":400,"poll":200} should reload when file content is changed 1`] = ` |
| 44 | +Object { |
| 45 | + "alwaysStat": true, |
| 46 | + "atomic": false, |
| 47 | + "followSymlinks": false, |
| 48 | + "ignoreInitial": true, |
| 49 | + "ignorePermissionErrors": true, |
| 50 | + "ignored": undefined, |
| 51 | + "interval": 400, |
| 52 | + "persistent": true, |
| 53 | + "usePolling": true, |
| 54 | +} |
| 55 | +`; |
| 56 | + |
| 57 | +exports[`watchFiles option should work with options {"interval":400,"poll":200} should reload when file content is changed: console messages 1`] = ` |
| 58 | +Array [ |
| 59 | + "Hey.", |
| 60 | +] |
| 61 | +`; |
| 62 | + |
| 63 | +exports[`watchFiles option should work with options {"interval":400,"poll":200} should reload when file content is changed: page errors 1`] = `Array []`; |
| 64 | + |
| 65 | +exports[`watchFiles option should work with options {"interval":400,"poll":200} should reload when file content is changed: response status 1`] = `200`; |
| 66 | + |
| 67 | +exports[`watchFiles option should work with options {"poll":200} should reload when file content is changed 1`] = ` |
| 68 | +Object { |
| 69 | + "alwaysStat": true, |
| 70 | + "atomic": false, |
| 71 | + "followSymlinks": false, |
| 72 | + "ignoreInitial": true, |
| 73 | + "ignorePermissionErrors": true, |
| 74 | + "ignored": undefined, |
| 75 | + "interval": 200, |
| 76 | + "persistent": true, |
| 77 | + "usePolling": true, |
| 78 | +} |
| 79 | +`; |
| 80 | + |
| 81 | +exports[`watchFiles option should work with options {"poll":200} should reload when file content is changed: console messages 1`] = ` |
| 82 | +Array [ |
| 83 | + "Hey.", |
| 84 | +] |
| 85 | +`; |
| 86 | + |
| 87 | +exports[`watchFiles option should work with options {"poll":200} should reload when file content is changed: page errors 1`] = `Array []`; |
| 88 | + |
| 89 | +exports[`watchFiles option should work with options {"poll":200} should reload when file content is changed: response status 1`] = `200`; |
| 90 | + |
| 91 | +exports[`watchFiles option should work with options {"poll":true} should reload when file content is changed 1`] = ` |
| 92 | +Object { |
| 93 | + "alwaysStat": true, |
| 94 | + "atomic": false, |
| 95 | + "followSymlinks": false, |
| 96 | + "ignoreInitial": true, |
| 97 | + "ignorePermissionErrors": true, |
| 98 | + "ignored": undefined, |
| 99 | + "interval": undefined, |
| 100 | + "persistent": true, |
| 101 | + "usePolling": true, |
| 102 | +} |
| 103 | +`; |
| 104 | + |
| 105 | +exports[`watchFiles option should work with options {"poll":true} should reload when file content is changed: console messages 1`] = ` |
| 106 | +Array [ |
| 107 | + "Hey.", |
| 108 | +] |
| 109 | +`; |
| 110 | + |
| 111 | +exports[`watchFiles option should work with options {"poll":true} should reload when file content is changed: page errors 1`] = `Array []`; |
| 112 | + |
| 113 | +exports[`watchFiles option should work with options {"poll":true} should reload when file content is changed: response status 1`] = `200`; |
| 114 | + |
| 115 | +exports[`watchFiles option should work with options {"usePolling":false,"interval":200,"poll":400} should reload when file content is changed 1`] = ` |
| 116 | +Object { |
| 117 | + "alwaysStat": true, |
| 118 | + "atomic": false, |
| 119 | + "followSymlinks": false, |
| 120 | + "ignoreInitial": true, |
| 121 | + "ignorePermissionErrors": true, |
| 122 | + "ignored": undefined, |
| 123 | + "interval": 200, |
| 124 | + "persistent": true, |
| 125 | + "usePolling": false, |
| 126 | +} |
| 127 | +`; |
| 128 | + |
| 129 | +exports[`watchFiles option should work with options {"usePolling":false,"interval":200,"poll":400} should reload when file content is changed: console messages 1`] = ` |
| 130 | +Array [ |
| 131 | + "Hey.", |
| 132 | +] |
| 133 | +`; |
| 134 | + |
| 135 | +exports[`watchFiles option should work with options {"usePolling":false,"interval":200,"poll":400} should reload when file content is changed: page errors 1`] = `Array []`; |
| 136 | + |
| 137 | +exports[`watchFiles option should work with options {"usePolling":false,"interval":200,"poll":400} should reload when file content is changed: response status 1`] = `200`; |
| 138 | + |
| 139 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":200} should reload when file content is changed 1`] = ` |
| 140 | +Object { |
| 141 | + "alwaysStat": true, |
| 142 | + "atomic": false, |
| 143 | + "followSymlinks": false, |
| 144 | + "ignoreInitial": true, |
| 145 | + "ignorePermissionErrors": true, |
| 146 | + "ignored": undefined, |
| 147 | + "interval": 200, |
| 148 | + "persistent": true, |
| 149 | + "usePolling": false, |
| 150 | +} |
| 151 | +`; |
| 152 | + |
| 153 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":200} should reload when file content is changed: console messages 1`] = ` |
| 154 | +Array [ |
| 155 | + "Hey.", |
| 156 | +] |
| 157 | +`; |
| 158 | + |
| 159 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":200} should reload when file content is changed: page errors 1`] = `Array []`; |
| 160 | + |
| 161 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":200} should reload when file content is changed: response status 1`] = `200`; |
| 162 | + |
| 163 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":true} should reload when file content is changed 1`] = ` |
| 164 | +Object { |
| 165 | + "alwaysStat": true, |
| 166 | + "atomic": false, |
| 167 | + "followSymlinks": false, |
| 168 | + "ignoreInitial": true, |
| 169 | + "ignorePermissionErrors": true, |
| 170 | + "ignored": undefined, |
| 171 | + "interval": undefined, |
| 172 | + "persistent": true, |
| 173 | + "usePolling": false, |
| 174 | +} |
| 175 | +`; |
| 176 | + |
| 177 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":true} should reload when file content is changed: console messages 1`] = ` |
| 178 | +Array [ |
| 179 | + "Hey.", |
| 180 | +] |
| 181 | +`; |
| 182 | + |
| 183 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":true} should reload when file content is changed: page errors 1`] = `Array []`; |
| 184 | + |
| 185 | +exports[`watchFiles option should work with options {"usePolling":false,"poll":true} should reload when file content is changed: response status 1`] = `200`; |
| 186 | + |
| 187 | +exports[`watchFiles option should work with options {"usePolling":false} should reload when file content is changed 1`] = ` |
| 188 | +Object { |
| 189 | + "alwaysStat": true, |
| 190 | + "atomic": false, |
| 191 | + "followSymlinks": false, |
| 192 | + "ignoreInitial": true, |
| 193 | + "ignorePermissionErrors": true, |
| 194 | + "ignored": undefined, |
| 195 | + "interval": undefined, |
| 196 | + "persistent": true, |
| 197 | + "usePolling": false, |
| 198 | +} |
| 199 | +`; |
| 200 | + |
| 201 | +exports[`watchFiles option should work with options {"usePolling":false} should reload when file content is changed: console messages 1`] = ` |
| 202 | +Array [ |
| 203 | + "Hey.", |
| 204 | +] |
| 205 | +`; |
| 206 | + |
| 207 | +exports[`watchFiles option should work with options {"usePolling":false} should reload when file content is changed: page errors 1`] = `Array []`; |
| 208 | + |
| 209 | +exports[`watchFiles option should work with options {"usePolling":false} should reload when file content is changed: response status 1`] = `200`; |
| 210 | + |
| 211 | +exports[`watchFiles option should work with options {"usePolling":true,"interval":200,"poll":400} should reload when file content is changed 1`] = ` |
| 212 | +Object { |
| 213 | + "alwaysStat": true, |
| 214 | + "atomic": false, |
| 215 | + "followSymlinks": false, |
| 216 | + "ignoreInitial": true, |
| 217 | + "ignorePermissionErrors": true, |
| 218 | + "ignored": undefined, |
| 219 | + "interval": 200, |
| 220 | + "persistent": true, |
| 221 | + "usePolling": true, |
| 222 | +} |
| 223 | +`; |
| 224 | + |
| 225 | +exports[`watchFiles option should work with options {"usePolling":true,"interval":200,"poll":400} should reload when file content is changed: console messages 1`] = ` |
| 226 | +Array [ |
| 227 | + "Hey.", |
| 228 | +] |
| 229 | +`; |
| 230 | + |
| 231 | +exports[`watchFiles option should work with options {"usePolling":true,"interval":200,"poll":400} should reload when file content is changed: page errors 1`] = `Array []`; |
| 232 | + |
| 233 | +exports[`watchFiles option should work with options {"usePolling":true,"interval":200,"poll":400} should reload when file content is changed: response status 1`] = `200`; |
| 234 | + |
| 235 | +exports[`watchFiles option should work with options {"usePolling":true,"poll":200} should reload when file content is changed 1`] = ` |
| 236 | +Object { |
| 237 | + "alwaysStat": true, |
| 238 | + "atomic": false, |
| 239 | + "followSymlinks": false, |
| 240 | + "ignoreInitial": true, |
| 241 | + "ignorePermissionErrors": true, |
| 242 | + "ignored": undefined, |
| 243 | + "interval": 200, |
| 244 | + "persistent": true, |
| 245 | + "usePolling": true, |
| 246 | +} |
| 247 | +`; |
| 248 | + |
| 249 | +exports[`watchFiles option should work with options {"usePolling":true,"poll":200} should reload when file content is changed: console messages 1`] = ` |
| 250 | +Array [ |
| 251 | + "Hey.", |
| 252 | +] |
| 253 | +`; |
| 254 | + |
| 255 | +exports[`watchFiles option should work with options {"usePolling":true,"poll":200} should reload when file content is changed: page errors 1`] = `Array []`; |
| 256 | + |
| 257 | +exports[`watchFiles option should work with options {"usePolling":true,"poll":200} should reload when file content is changed: response status 1`] = `200`; |
| 258 | + |
| 259 | +exports[`watchFiles option should work with options {"usePolling":true} should reload when file content is changed 1`] = ` |
| 260 | +Object { |
| 261 | + "alwaysStat": true, |
| 262 | + "atomic": false, |
| 263 | + "followSymlinks": false, |
| 264 | + "ignoreInitial": true, |
| 265 | + "ignorePermissionErrors": true, |
| 266 | + "ignored": undefined, |
| 267 | + "interval": undefined, |
| 268 | + "persistent": true, |
| 269 | + "usePolling": true, |
| 270 | +} |
| 271 | +`; |
| 272 | + |
| 273 | +exports[`watchFiles option should work with options {"usePolling":true} should reload when file content is changed: console messages 1`] = ` |
| 274 | +Array [ |
| 275 | + "Hey.", |
| 276 | +] |
| 277 | +`; |
| 278 | + |
| 279 | +exports[`watchFiles option should work with options {"usePolling":true} should reload when file content is changed: page errors 1`] = `Array []`; |
| 280 | + |
| 281 | +exports[`watchFiles option should work with options {"usePolling":true} should reload when file content is changed: response status 1`] = `200`; |
| 282 | + |
| 283 | +exports[`watchFiles option should work with string and glob should reload when file content is changed: console messages 1`] = ` |
| 284 | +Array [ |
| 285 | + "Hey.", |
| 286 | +] |
| 287 | +`; |
| 288 | + |
| 289 | +exports[`watchFiles option should work with string and glob should reload when file content is changed: page errors 1`] = `Array []`; |
| 290 | + |
| 291 | +exports[`watchFiles option should work with string and glob should reload when file content is changed: response status 1`] = `200`; |
| 292 | + |
| 293 | +exports[`watchFiles option should work with string and path to directory should reload when file content is changed: console messages 1`] = ` |
| 294 | +Array [ |
| 295 | + "Hey.", |
| 296 | +] |
| 297 | +`; |
| 298 | + |
| 299 | +exports[`watchFiles option should work with string and path to directory should reload when file content is changed: page errors 1`] = `Array []`; |
| 300 | + |
| 301 | +exports[`watchFiles option should work with string and path to directory should reload when file content is changed: response status 1`] = `200`; |
| 302 | + |
| 303 | +exports[`watchFiles option should work with string and path to file should reload when file content is changed: console messages 1`] = ` |
| 304 | +Array [ |
| 305 | + "Hey.", |
| 306 | +] |
| 307 | +`; |
| 308 | + |
| 309 | +exports[`watchFiles option should work with string and path to file should reload when file content is changed: page errors 1`] = `Array []`; |
| 310 | + |
| 311 | +exports[`watchFiles option should work with string and path to file should reload when file content is changed: response status 1`] = `200`; |
0 commit comments