Skip to content

switch testing from Jasmine to Mocha + Chai - #146

Merged
dwhieb merged 4 commits into
masterfrom
issue-137
Aug 18, 2020
Merged

switch testing from Jasmine to Mocha + Chai#146
dwhieb merged 4 commits into
masterfrom
issue-137

Conversation

@dwhieb

Copy link
Copy Markdown
Member

Related Issue

closes#137

Description

Jasmine does not natively support ES modules, and generally isn't well-maintained these days. This simplifies the testing somewhat. Note that the assertion style has changed:

https://www.chaijs.com/guide/styles/#should

@dwhieb
dwhieb requested a review from vadekhAugust 16, 2020 23:03
@dwhiebdwhieb self-assigned this Aug 16, 2020
@dwhiebdwhieb added the tests Changes to tests label Aug 16, 2020

@vadekhvadekh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like how all tests are displayed in console now, pass or fail.

@dwhieb

Copy link
Copy Markdown
MemberAuthor

@vadekh Yeah I like that too!

@dwhieb
dwhieb merged commit dc2217b into masterAug 18, 2020
@dwhieb
dwhieb deleted the issue-137 branch August 18, 2020 18:35
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsChanges to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

switch testing to Mocha + Chai

2 participants

@dwhieb@vadekh