()
| 36 | |
| 37 | it("throws a ConfigError when no matching plugin is found", () => { |
| 38 | const func = () => getParserPluginByParserName(getMockPlugins("a"), "b"); |
| 39 | expect(process.env.PRETTIER_TARGET).not.toBe("universal"); |
| 40 | expect(func).toThrow(ConfigError); |
| 41 | expect(func).toThrow(`Couldn't resolve parser "b".`); |
nothing calls this directly
no test coverage detected
searching dependent graphs…