Add empty .prettierrc to project root (#6125)
This commit is contained in:
1 parent
012b7a653e
commit
3e00fbad78
2 files changed
+3
-2
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@@ -81,12 +81,12 @@ describe("CLI overrides take precedence", () => {
|
|||||||
|
|
||||||
test("API resolveConfig with no args", () => {
|
test("API resolveConfig with no args", () => {
|
||||||
return prettier.resolveConfig().then(result => {
|
return prettier.resolveConfig().then(result => {
|
||||||
expect(result).toBeNull();
|
expect(result).toEqual({});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
test("API resolveConfig.sync with no args", () => {
|
test("API resolveConfig.sync with no args", () => {
|
||||||
expect(prettier.resolveConfig.sync()).toBeNull();
|
expect(prettier.resolveConfig.sync()).toEqual({});
|
||||||
});
|
});
|
||||||
|
|
||||||
test("API resolveConfig with file arg", () => {
|
test("API resolveConfig with file arg", () => {
|
||||||
|
|||||||
Reference in new issue
Block a user