Automattic / Automattic/node-canvas

[Failing unit test] AssertionError: -0.10546875 == 0

Open
#1,033 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

After cloning and installing deps with yarn and respecting the instructions in https://github.com/Automattic/node-canvas#testing, tried to run all unit tests on nodejs v4.8.4 but one fails:

```
137 passing (527ms)
4 pending
1 failing

1) Canvas Context2d#measureText() works:

AssertionError: -0.10546875 == 0
+ expected - actual

--0.10546875
+0

at Context. (test/canvas.test.js:787:14)
```

Does it fail for you too?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.