Skip to content

Make production tests always run against dist/ - #2941

Closed
ikatyang wants to merge 5 commits into
prettier:masterfrom
ikatyang:fix-production-tests
Closed

ikatyang wants to merge 5 commits into
prettier:masterfrom
ikatyang:fix-production-tests

Conversation

@ikatyang

Copy link
Copy Markdown
Member

from #2932

@ikatyang

ikatyang commented Sep 30, 2017 •

Copy link
Copy Markdown
Member Author

Babel...?! 😱😱😱

I didn't get this error locally, weird..

Summary of all failing tests
 FAIL  tests_integration/__tests__/stdin-filepath.js
  ● format correctly if stdin content compatible with stdin-filepath
    expect(value).toMatchSnapshot()
    
    Received value does not match stored snapshot 2.
    
    - ""
    + "[BABEL] Note: The code generator has deoptimised the styling of "/home/travis/build/prettier/prettier/dist/parser-postcss.js" as it exceeds the max of "500KB".
    "
      
      at Object.<anonymous>.test (tests_integration/__tests__/stdin-filepath.js:13:25)
          at Promise (<anonymous>)
          at <anonymous>
Snapshot Summary
 › 1 snapshot test failed in 1 test suite. Inspect your code changes or run with `yarn test -- -u` to update them.
Test Suites: 1 failed, 743 passed, 744 total
Tests:       1 failed, 4471 passed, 4472 total
Snapshots:   1 failed, 2042 passed, 2043 total
Time:        180.585s

@ikatyang ikatyang closed this Sep 30, 2017
@ikatyang
ikatyang deleted the fix-production-tests branch September 30, 2017 11:41
@lock lock Bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 19, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants