Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Move tests to typescript #191

Merged
merged 1 commit into from Sep 1, 2020
Merged

Move tests to typescript #191

merged 1 commit into from Sep 1, 2020

Conversation

bryanmikaelian
Copy link
Contributor

@bryanmikaelian bryanmikaelian commented Aug 27, 2020

Description

This PR migrates all tests to Typescript

Note: Due to the need to support IE9+, we are specifically pinning buffer and assert to versions that support IE9.

  • buffer ^5 does not work in IE
  • assert ^2 only supports IE11+

Test plan

Testing not required because this is a dev only change

Release plan

New version is not required because it's a dev only change

Checklist

  • Thorough explanation of the issue/solution, and a link to the related issue
  • CI tests are passing
  • Unit tests were written for any new code
  • Code coverage is at least maintained, or increased.

@@ -68,6 +68,7 @@ describe('map', function() {

it('should ignore enumerable properties on arrays', function() {
var array = ['a', 'b', 'c'];
// @ts-ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I actually have no idea what this test is trying to accomplish. I've never seen dot notation syntax on an array like this.

@bryanmikaelian bryanmikaelian force-pushed the bryan/ts-tests branch 29 times, most recently from 3763adf to 332ab43 Compare September 1, 2020 14:56
@bryanmikaelian bryanmikaelian force-pushed the bryan/ts-tests branch 2 times, most recently from bb6a04d to 665627e Compare September 1, 2020 15:32
@codecov-commenter
Copy link

Codecov Report

Merging #191 into master will increase coverage by 3.70%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #191      +/-   ##
===========================================
+ Coverage   96.29%   100.00%   +3.70%     
===========================================
  Files           3         1       -2     
  Lines          54         3      -51     
===========================================
- Hits           52         3      -49     
+ Misses          2         0       -2     
Impacted Files Coverage Δ
test/support/global.ts 100.00% <ø> (ø)
lib/utils/each.js
lib/utils/map.js
lib/utils/clone.js

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9495826...6d0e2a7. Read the comment docs.

@bryanmikaelian bryanmikaelian requested review from a team and removed request for nettofarah and pooyaj September 1, 2020 16:58
@bryanmikaelian bryanmikaelian merged commit 10f178a into master Sep 1, 2020
@bryanmikaelian bryanmikaelian deleted the bryan/ts-tests branch September 1, 2020 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants