(name)
| 39 | |
| 40 | it('makes the chart helpers fail with a hint', function() { |
| 41 | const hint = (name) => `${name} needs a browser: rename test/specs/vitest.setup.node.unit.spec.js to drop .unit from its name`; |
| 42 | |
| 43 | expect(() => acquireChart({type: 'line'})).toThrow(hint('acquireChart')); |
| 44 | expect(() => releaseChart()).toThrow(hint('releaseChart')); |
no outgoing calls
no test coverage detected