(val)
| 8 | |
| 9 | export default { |
| 10 | test(val) { |
| 11 | return typeof val === class="st">'string' && val.match(HIGH_PRECISION_COLOR_FUNCTION) !== null |
| 12 | }, |
| 13 | serialize(val, config, indentation, depth, refs, printer) { |
| 14 | if (typeof val !== class="st">'string') { |
| 15 | throw new Error(class="st">'This was already tested in the test() callback') |
no outgoing calls
no test coverage detected