Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch mocha to jest #768

Merged
merged 1 commit into from
Feb 23, 2017
Merged

Commits on Feb 23, 2017

  1. Switch mocha to jest

    This commit replaces mocha with jest. Also this commit removes
    dependency on babel-plugin-webpack-loaders plugin because of
    the following reasons:
    1. It seems that the author deprecated and abandoned this plugin
    and he suggests not to use it and to use mocks and native test utilities
    tools instead.
    2. This plugin conflicts with webpack 2 and because of the reason one
    it is unlikely that it will ever support it.
    
    In order to remove dependency on the aforementioned plugin and
    keep using css modules in the same time the following trick is used:
    All components that need to be selected in the end-to-end test receive
    data-tid (TestID) and data-tclass (TestCLASS) properties. It is necessary
    because without running webpack we cannot use class names to select
    components because we do not know what class names css loader
    actually generates for us.
    akozhemiakin committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    3b2ef60 View commit details
    Browse the repository at this point in the history