Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 2.43 KB

CHANGELOG.md

File metadata and controls

86 lines (60 loc) · 2.43 KB

Changelog

0.7.0 (2018-03-09)

Bugs

  • Fix running multiple tests when running without --runInBand mode. Start own HTTP sever for each test context.
  • Correct missing await keyword in Readme

0.6.0 (2018-03-05)

Features

  • Monorepo! Split the jest-puppe-shots into 3 NPM packages:

    • jest-puppe-shots-env - Contains Jest environment, setup and teardown hooks
    • jest-puppe-shots-preset - Contains Jest preset that can be used to quickly configure Jest
    • jest-puppe-shots - The React renderers and matchers API
  • Reduce manual Jest config and use a Jest "preset" instead

Upgrade guide

Remove old hooks from your project configuration and use a "preset" instead:

jest.config.json: {

-  "testEnvironment": "jest-puppe-shots/lib/node-environment.js",
-  "globalSetup": "jest-puppe-shots/lib/global-setup.js",	
-  "globalTeardown": "jest-puppe-shots/lib/global-teardown.js"
+  "preset": "jest-puppe-shots-preset"
}

or

jest.config.js: {

-  testEnvironment: 'jest-puppe-shots/lib/node-environment.js',
-  globalSetup: 'jest-puppe-shots/lib/global-setup.js',	
-  globalTeardown: "jest-puppe-shots/lib/global-teardown.js'
+  preset: 'jest-puppe-shots-preset'
}

0.4.0 (2018-02-23)

Bugs

  • Fix typos in readme
  • #5 Fix problem with multiline result after rendering component to HTML

Chores

  • Add strict version for Node and NPM engine
  • Setup Jest tests runner
  • Add basic unit tests for renderers
  • Setup Travis CI

0.3.3 (2018-02-19)

Bugs

  • Freeze styled-components package to version 2+
  • Fix resetting styled components styles before collecting CSS

0.3.2 (2018-02-19)

Bugs

  • Fix typos in documentation

Chores

  • Add Eslint and reformat source code

0.3.1 (2018-02-13)

Features

  • First official release