File: publicPath-option.test.js.snap

package info (click to toggle)
node-file-loader 6.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 916 kB
  • sloc: javascript: 1,131; makefile: 5
file content (31 lines) | stat: -rw-r--r-- 1,845 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`"publicPath" option should work with "Function" value and pass "url", "resourcePath" and "context" as arguments: errors 1`] = `Array []`;

exports[`"publicPath" option should work with "Function" value and pass "url", "resourcePath" and "context" as arguments: result 1`] = `"public_path/39f5c21c1aee6ff21844c6e1d8251d97.png"`;

exports[`"publicPath" option should work with "Function" value and pass "url", "resourcePath" and "context" as arguments: warnings 1`] = `Array []`;

exports[`"publicPath" option should work with "String" value equal an URL: errors 1`] = `Array []`;

exports[`"publicPath" option should work with "String" value equal an URL: result 1`] = `"https://cdn.com/39f5c21c1aee6ff21844c6e1d8251d97.png"`;

exports[`"publicPath" option should work with "String" value equal an URL: warnings 1`] = `Array []`;

exports[`"publicPath" option should work with "String" value without trailing slash: errors 1`] = `Array []`;

exports[`"publicPath" option should work with "String" value without trailing slash: result 1`] = `"public_path/39f5c21c1aee6ff21844c6e1d8251d97.png"`;

exports[`"publicPath" option should work with "String" value without trailing slash: warnings 1`] = `Array []`;

exports[`"publicPath" option should work with "String" value: errors 1`] = `Array []`;

exports[`"publicPath" option should work with "String" value: result 1`] = `"public_path/39f5c21c1aee6ff21844c6e1d8251d97.png"`;

exports[`"publicPath" option should work with "String" value: warnings 1`] = `Array []`;

exports[`"publicPath" option should work without value: errors 1`] = `Array []`;

exports[`"publicPath" option should work without value: result 1`] = `"39f5c21c1aee6ff21844c6e1d8251d97.png"`;

exports[`"publicPath" option should work without value: warnings 1`] = `Array []`;