jessealama / decimal128

JavaScript userland partial implementation of IEEE 754 Decimal128 decimal floating-point arithmetic
BSD 2-Clause "Simplified" License
19 stars 8 forks source link

[Test] Working test and coverage with ts-jest #96

Closed amoshydra closed 6 months ago

amoshydra commented 6 months ago

Summary

This PR will remove jest-light-runner and reconfigure jest to use ts-jest.

This PR is created following the guide provided in:

Related

To resolve #94

Motivation

To be able to run test and collect coverage

How is this tested?

Tested with both npm test and npm run coverage.

s1

This screenshot above is a output for npm run coverage

amoshydra commented 6 months ago

Closing. My understanding on how the test run was wrong. We are suppose to run build first npx tsc before running test.

This PR is no longer necessary as my initial motivation is also covered in the newer commits in #93