We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6207679 commit 5c2c2acCopy full SHA for 5c2c2ac
1 file changed
tests_integration/__tests__/file-info.js
@@ -105,11 +105,10 @@ describe("extracts file-info with inferredParser=foo when a plugin is hand-picke
105
});
106
107
108
-test("API getFileInfo with no args", () => {
+test("API getFileInfo with no args", () =>
109
expect(prettier.getFileInfo()).rejects.toThrow(
110
new TypeError("expect `filePath` to be a string, got `undefined`")
111
- );
112
-});
+ ));
113
114
test("API getFileInfo.sync with no args", () => {
115
expect(() => prettier.getFileInfo.sync()).toThrow(
0 commit comments