Skip to content

Convert API Extractor unit tests to use Jest - #450

Merged
Pete Gonzalez (octogonz) merged 4 commits into
masterfrom
pgonzal/ae-jest
Nov 23, 2017
Merged

Pete Gonzalez (octogonz) merged 4 commits into
masterfrom
pgonzal/ae-jest

Conversation

@octogonz

Copy link
Copy Markdown
Collaborator

I converted the currently enabled tests. The *.test.ts.disabled tests will probably get rewritten in a separate PR.

} catch (error) {
errorThrown = true;
}
assert.equal(errorThrown, false);

@qz2017 QZ (qz2017) Nov 22, 2017 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You can use toThrow to test error thrown. #Resolved

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good point


In reply to: 152471857 [](ancestors = 152471857)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants