Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / hustcc/jest-canvas-mock issues and pull requests

#124 - Use without jsdom

Issue - State: open - Opened by joshkel about 1 month ago

#123 - Add reset function

Pull Request - State: open - Opened by Tsubashi about 2 months ago - 1 comment

#122 - Correct way to replay drawCalls?

Issue - State: open - Opened by ImLunaHey 2 months ago

#120 - DOMMatrix implementation is incomplete

Issue - State: open - Opened by jiayihu 5 months ago - 4 comments

#119 - feat(canvas): add roundRect (#105)

Pull Request - State: closed - Opened by pedroordep 7 months ago

#118 - fix(jest-canvas-mock): improve constructor for dom matrix

Pull Request - State: open - Opened by cibernox 9 months ago

#118 - fix(jest-canvas-mock): improve constructor for dom matrix

Pull Request - State: closed - Opened by cibernox 9 months ago - 4 comments

#117 - Bug in the implementation of DOMMatrix.

Issue - State: closed - Opened by cibernox 9 months ago

#116 - fix(jest-canvas-mock): account for possible `TypeError`

Pull Request - State: closed - Opened by virtuoushub over 1 year ago - 4 comments

#115 - new `mockPrototype(win)` implementation can cause `TypeError`

Issue - State: closed - Opened by virtuoushub over 1 year ago - 7 comments

#114 - chore: v2.5.1

Pull Request - State: closed - Opened by hustcc over 1 year ago

#113 - #112: fixed parameter order in DOMException

Pull Request - State: closed - Opened by danielrentz over 1 year ago

#112 - Wrong argument order when throwing DOMException

Issue - State: closed - Opened by danielrentz over 1 year ago

#111 - #110: parameter support for getImageData

Pull Request - State: closed - Opened by danielrentz over 1 year ago

#109 - Cannot redefine property: window

Issue - State: closed - Opened by jun-sironamedical over 1 year ago - 1 comment

#108 - Fix setupJestCanvasMock type declaration

Pull Request - State: closed - Opened by hrd543 over 1 year ago

#106 - chore: v2.5.0

Pull Request - State: closed - Opened by hustcc over 1 year ago

#105 - CanvasRenderingContext2D.roundRect is not implmented

Issue - State: closed - Opened by cazfletch almost 2 years ago - 1 comment

#104 - docs: fix some typos

Pull Request - State: closed - Opened by jdufresne almost 2 years ago

#103 - Error with jest-canvas-mock and jest.resetAllMocks()

Issue - State: closed - Opened by qiuhanWEI almost 2 years ago - 7 comments

#102 - License file

Issue - State: open - Opened by abhishekjindal about 2 years ago - 1 comment

#101 - Fix copy & paste mistake: toBlob -> toDataURL

Pull Request - State: closed - Opened by jdufresne about 2 years ago

#100 - Pass window object to mockPrototype

Pull Request - State: closed - Opened by jdufresne about 2 years ago - 6 comments

#99 - How to import types ?

Issue - State: closed - Opened by emmanuelgeoffray about 2 years ago - 1 comment

#98 - index: export a function to re-initialize mocks

Pull Request - State: closed - Opened by nicks about 2 years ago

#97 - Multiple configurations found when configure jest-canvas-mock

Issue - State: open - Opened by Choupa-web about 2 years ago - 1 comment

#96 - Error with jest-canvas-mock and React.lazy

Issue - State: open - Opened by DavidArmendariz about 2 years ago

#95 - feat: disable `package-lock.json`

Pull Request - State: closed - Opened by LitoMore over 2 years ago - 5 comments

#94 - chore: add contributors LitoMore

Pull Request - State: closed - Opened by hustcc over 2 years ago

#93 - chore: v2.4.0

Pull Request - State: closed - Opened by hustcc over 2 years ago

#92 - ci: use GitHub Actions

Pull Request - State: closed - Opened by LitoMore over 2 years ago - 3 comments

#91 - fix(window): avoid `global.window` redefinition

Pull Request - State: closed - Opened by LitoMore over 2 years ago - 1 comment

#90 - ci: target to Node.js 12

Pull Request - State: closed - Opened by LitoMore over 2 years ago - 2 comments

#89 - Test fails on Node.js 18

Issue - State: closed - Opened by LitoMore over 2 years ago - 4 comments

#88 - Vitest configuration

Issue - State: closed - Opened by wobsoriano over 2 years ago - 7 comments

#87 - What's the difference between jest-canvas-mock and canvas?

Issue - State: closed - Opened by shayantabrizi about 3 years ago - 2 comments

#86 - Parameter 1 is not of type 'Path2D'

Issue - State: open - Opened by markov00 about 3 years ago - 2 comments

#85 - Q: where to go for DOMMatrix.invertSelf support

Issue - State: open - Opened by monfera about 3 years ago - 5 comments

#84 - Add a simple ci flow

Pull Request - State: closed - Opened by YonatanKra about 3 years ago - 1 comment

#83 - Add translate, translateSelf, scale and scaleSelf to DOMMatrix

Pull Request - State: closed - Opened by YonatanKra about 3 years ago - 3 comments

#82 - getImageData returns undefined

Issue - State: closed - Opened by danielrentz over 3 years ago - 4 comments

#81 - captureStream mocked?

Issue - State: open - Opened by lr-mjaouen over 3 years ago - 2 comments
Labels: help wanted

#80 - can it be use with uve?

Issue - State: open - Opened by bin787 over 3 years ago

#79 - test: add test for vis @antv/g2plot

Pull Request - State: closed - Opened by hustcc over 3 years ago - 1 comment

#78 - Docs: Add examples of mocking canvas calls

Issue - State: open - Opened by Nokel81 over 3 years ago - 1 comment

#77 - Add ctx transform is identic

Pull Request - State: open - Opened by milahu almost 4 years ago - 3 comments

#76 - optimize(Path2D): replace reassign-concat with for-push

Pull Request - State: closed - Opened by milahu almost 4 years ago - 4 comments

#75 - canvasevent: dont pass identity transform

Pull Request - State: closed - Opened by milahu almost 4 years ago - 3 comments

#74 - fix setLineDash parameter name: value -> segments

Pull Request - State: closed - Opened by milahu almost 4 years ago - 3 comments

#73 - Fix(clip): delete clipping region with restore

Pull Request - State: closed - Opened by lekha almost 4 years ago - 3 comments
Labels: bug, requesting changes

#72 - Doesn't work with latest Create React App

Issue - State: open - Opened by ztolley almost 4 years ago - 17 comments

#71 - A nice simple example.

Issue - State: open - Opened by andy-preston almost 4 years ago - 5 comments

#70 - feat(DOMMatrix): add toFloat32Array and toFloat64Array

Pull Request - State: closed - Opened by FeliciousX about 4 years ago - 2 comments

#69 - Path2D constructor supports

Issue - State: open - Opened by ghost over 4 years ago - 2 comments
Labels: question

#68 - What's the difference between jest-canvas-mock and node-canvas?

Issue - State: closed - Opened by atav32 over 4 years ago - 1 comment

#67 - measureText returns number of characters rather than computed length

Issue - State: closed - Opened by evargast over 4 years ago - 6 comments
Labels: question, wontfix

#66 - Add code style enforcement, code of conduct

Pull Request - State: closed - Opened by jtenner over 4 years ago - 2 comments

#65 - fix(gradients): support for 'transparent' as a color stop

Pull Request - State: closed - Opened by evanoc3 over 4 years ago - 19 comments

#64 - Not recognising 'transparent' colour

Issue - State: closed - Opened by evanoc3 over 4 years ago - 2 comments
Labels: bug, help wanted

#63 - Be able to use with create-react-scripts

Issue - State: open - Opened by hutber over 4 years ago - 5 comments

#62 - fix(README): typo

Pull Request - State: closed - Opened by vosamoilenko almost 5 years ago - 2 comments

#61 - Usage with Jest 23?

Issue - State: closed - Opened by Nfinished almost 5 years ago - 8 comments
Labels: question

#60 - putImageData not updating the underlying data set

Issue - State: open - Opened by andy-polhill almost 5 years ago - 7 comments
Labels: help wanted, question

#59 - [Docs] add __getClippingRegion function to docs

Pull Request - State: closed - Opened by jtenner almost 5 years ago - 1 comment
Labels: enhancement

#58 - feat(clip): add clippath

Pull Request - State: closed - Opened by jtenner almost 5 years ago - 2 comments
Labels: enhancement

#57 - Add badge: Mentioned in Awesome

Issue - State: closed - Opened by jtenner almost 5 years ago
Labels: enhancement, help wanted, good first issue

#56 - [with solution]: incorrect event value stored for context.setTransform ()

Issue - State: closed - Opened by tmarti almost 5 years ago - 3 comments
Labels: invalid, question

#55 - Release v2.2.0

Issue - State: closed - Opened by jtenner almost 5 years ago - 4 comments
Labels: enhancement

#54 - [RFC]: Add Testing Feature ctx.__getClipRegion()

Issue - State: closed - Opened by tmarti almost 5 years ago - 4 comments
Labels: enhancement, help wanted, question

#53 - [with solution]: problem with lineWidthStack

Issue - State: closed - Opened by tmarti almost 5 years ago - 2 comments
Labels: bug

#52 - fix(transform): slice transform on save, node 13

Pull Request - State: closed - Opened by jtenner almost 5 years ago - 1 comment
Labels: enhancement

#51 - Can't use jest-canvas-mock without jest

Issue - State: open - Opened by jtenner almost 5 years ago - 10 comments
Labels: enhancement, help wanted

#50 - [with solution]: Problem with context.save () and context.restore ()

Issue - State: closed - Opened by tmarti almost 5 years ago - 4 comments
Labels: bug

#49 - feat(mock): support clearing draw calls and events

Pull Request - State: closed - Opened by andypearson almost 5 years ago - 9 comments
Labels: enhancement

#48 - Add ability to clear event lists

Issue - State: closed - Opened by andypearson almost 5 years ago - 3 comments

#47 - fix(context): :anchor: Removes argument to getters

Pull Request - State: closed - Opened by favorable-mutation almost 5 years ago - 3 comments

#46 - Publish to npm

Issue - State: closed - Opened by jtenner about 5 years ago - 2 comments
Labels: enhancement

#45 - Support for ImageData instantiation using a source array

Pull Request - State: closed - Opened by lualparedes about 5 years ago - 7 comments

#44 - [Tests] Use snapshots instead of complicated test logic

Issue - State: closed - Opened by jtenner about 5 years ago - 1 comment
Labels: enhancement, help wanted

#43 - `webkitBackingStorePixelRatio` is not mocked

Issue - State: closed - Opened by hustcc over 5 years ago - 1 comment

#42 - Use with OffscreenCanvas?

Issue - State: closed - Opened by cmdcolin over 5 years ago - 15 comments
Labels: question

#41 - Submit package update to npm (v. 2.1.0)

Issue - State: closed - Opened by jtenner over 5 years ago - 2 comments
Labels: enhancement

#40 - Readme has wrong expectation

Issue - State: closed - Opened by jtenner over 5 years ago
Labels: help wanted, good first issue

#39 - Add typescript types file to expose types for mock calls

Issue - State: closed - Opened by jtenner over 5 years ago
Labels: enhancement

#38 - feat(mock): support mocks via __getPath, __getEvents, and __getDrawCalls

Pull Request - State: closed - Opened by jtenner over 5 years ago - 10 comments
Labels: enhancement

#37 - docs(mock): add doc on how to override mock return value

Pull Request - State: closed - Opened by paradite over 5 years ago - 2 comments

#36 - feat(build): add prepare script

Pull Request - State: closed - Opened by kevinbarabash over 5 years ago - 5 comments

#35 - fix(getcontext): repeated calls to getContext('2d') return same context

Pull Request - State: closed - Opened by jtenner over 5 years ago - 5 comments
Labels: bug

#34 - getContext() should be idempotent

Issue - State: closed - Opened by kevinbarabash over 5 years ago - 5 comments
Labels: bug

#33 - Method to log commands to context and snapshot test?

Issue - State: closed - Opened by cmdcolin over 5 years ago - 12 comments
Labels: enhancement

#32 - Add support for WebGL2RenderingContext

Issue - State: closed - Opened by benoneal over 5 years ago - 9 comments
Labels: enhancement, help wanted, question

#31 - Add Changelog

Pull Request - State: closed - Opened by jtenner over 5 years ago - 3 comments
Labels: enhancement

#30 - Consider adopting a CHANGELOG

Issue - State: closed - Opened by erickwilder over 5 years ago - 7 comments

#29 - fix error desc, add two generic tests

Pull Request - State: closed - Opened by jtenner over 5 years ago - 8 comments

#26 - [RFC] External Blob Support

Pull Request - State: closed - Opened by jtenner over 5 years ago - 4 comments