Skip to content

Commit

Permalink
Fix error in tests (#3731)
Browse files Browse the repository at this point in the history
  • Loading branch information
hudochenkov authored and ntwb committed Oct 20, 2018
1 parent 7c14a0e commit 8fa9b87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/__tests__/printConfig.test.js
Expand Up @@ -9,7 +9,7 @@ it("printConfig uses getConfigForFile to retrieve the config", () => {
__dirname,
"fixtures/getConfigForFile/a/b/foo.css"
);
printConfig({
return printConfig({
files: [filepath]
}).then(result => {
expect(result).toEqual({
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/standalone-deprecations.test.js
Expand Up @@ -16,7 +16,7 @@ blockNoEmpty.mockImplementation(() => {

describe("standalone with deprecations", () => {
it("works", () => {
standalone({
return standalone({
code: "a {}",
config: configBlockNoEmpty
}).then(data => {
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/standalone-parseErrors.test.js
Expand Up @@ -16,7 +16,7 @@ blockNoEmpty.mockImplementation(() => {

describe("standalone with deprecations", () => {
it("works", () => {
standalone({
return standalone({
code: "a {}",
config: configBlockNoEmpty
}).then(data => {
Expand Down

0 comments on commit 8fa9b87

Please sign in to comment.