Add empty .prettierrc to project root (#6125)
parent
012b7a653e
commit
3e00fbad78
|
@ -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", () => {
|
||||||
|
|
Loading…
Reference in New Issue