fixed-data-table-2 icon indicating copy to clipboard operation
fixed-data-table-2 copied to clipboard

Change Testingframework from mocha/chai to jest and add more tests

Open Flui opened this issue 7 years ago • 2 comments

Expected Behavior

Write fast Unit- and Snapshottests with less configuration.

Current Behavior

For now there is a test-helper needed and

Possible Solution

install jest and refactor tests to work with jest

Context

This helps to provide almost 100% code coverage for testing. It is much easier to recognize if and in which way changes affect the rendered html.

Flui avatar Feb 04 '18 10:02 Flui

This isn't really a bug since there isn't anything wrong with mocha/chai. That being said, feel free to open a PR switching to Jest and I'm sure the team will consider it

KamranAsif avatar Feb 04 '18 15:02 KamranAsif

+1 to Kam's suggestion to open a PR. I don't think we need to switch frameworks, but adding some jest snapshot testing would be great. THanks

wcjordan avatar Feb 05 '18 19:02 wcjordan