|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`validate options should throw an error on the "flags" option with "false" value 1`] = ` |
| 4 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 5 | + - options.flags should be an integer. |
| 6 | + -> An integer value that allows to specify dlopen behavior. |
| 7 | + -> Read more at https://github.com/webpack-contrib/node-loader#flags" |
| 8 | +`; |
| 9 | + |
| 10 | +exports[`validate options should throw an error on the "flags" option with "test" value 1`] = ` |
| 11 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 12 | + - options.flags should be an integer. |
| 13 | + -> An integer value that allows to specify dlopen behavior. |
| 14 | + -> Read more at https://github.com/webpack-contrib/node-loader#flags" |
| 15 | +`; |
| 16 | + |
| 17 | +exports[`validate options should throw an error on the "flags" option with "true" value 1`] = ` |
| 18 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 19 | + - options.flags should be an integer. |
| 20 | + -> An integer value that allows to specify dlopen behavior. |
| 21 | + -> Read more at https://github.com/webpack-contrib/node-loader#flags" |
| 22 | +`; |
| 23 | + |
| 24 | +exports[`validate options should throw an error on the "name" option with "false" value 1`] = ` |
| 25 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 26 | + - options has an unknown property 'name'. These properties are valid: |
| 27 | + object { flags? }" |
| 28 | +`; |
| 29 | +
|
| 30 | +exports[`validate options should throw an error on the "name" option with "true" value 1`] = ` |
| 31 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 32 | + - options has an unknown property 'name'. These properties are valid: |
| 33 | + object { flags? }" |
| 34 | +`; |
| 35 | +
|
| 36 | +exports[`validate options should throw an error on the "unknown" option with "/test/" value 1`] = ` |
| 37 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 38 | + - options has an unknown property 'unknown'. These properties are valid: |
| 39 | + object { flags? }" |
| 40 | +`; |
| 41 | +
|
| 42 | +exports[`validate options should throw an error on the "unknown" option with "[]" value 1`] = ` |
| 43 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 44 | + - options has an unknown property 'unknown'. These properties are valid: |
| 45 | + object { flags? }" |
| 46 | +`; |
| 47 | +
|
| 48 | +exports[`validate options should throw an error on the "unknown" option with "{"foo":"bar"}" value 1`] = ` |
| 49 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 50 | + - options has an unknown property 'unknown'. These properties are valid: |
| 51 | + object { flags? }" |
| 52 | +`; |
| 53 | +
|
| 54 | +exports[`validate options should throw an error on the "unknown" option with "{}" value 1`] = ` |
| 55 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 56 | + - options has an unknown property 'unknown'. These properties are valid: |
| 57 | + object { flags? }" |
| 58 | +`; |
| 59 | +
|
| 60 | +exports[`validate options should throw an error on the "unknown" option with "1" value 1`] = ` |
| 61 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 62 | + - options has an unknown property 'unknown'. These properties are valid: |
| 63 | + object { flags? }" |
| 64 | +`; |
| 65 | +
|
| 66 | +exports[`validate options should throw an error on the "unknown" option with "false" value 1`] = ` |
| 67 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 68 | + - options has an unknown property 'unknown'. These properties are valid: |
| 69 | + object { flags? }" |
| 70 | +`; |
| 71 | +
|
| 72 | +exports[`validate options should throw an error on the "unknown" option with "test" value 1`] = ` |
| 73 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 74 | + - options has an unknown property 'unknown'. These properties are valid: |
| 75 | + object { flags? }" |
| 76 | +`; |
| 77 | +
|
| 78 | +exports[`validate options should throw an error on the "unknown" option with "true" value 1`] = ` |
| 79 | +"Invalid options object. Node Loader has been initialized using an options object that does not match the API schema. |
| 80 | + - options has an unknown property 'unknown'. These properties are valid: |
| 81 | + object { flags? }" |
| 82 | +`; |
0 commit comments