akromio / nodejs-doubles Goto Github PK
View Code? Open in Web Editor NEWA double test library.
A double test library.
No response
Right now, for getting the first call and second calls of a monitor log, we need to use getCall(0)
and getCall(1)
, respectively.
It seems better to use firstCall
and secondCall
properties, similarly to the expected package.
Consistence with the expected package.
The following error is raised when a simulator with a simulated method is used:
TypeError: target.apply is not a function
at Object.apply (node_modules/@akromio/doubles/dist/cjs/monitor/index.js:72:28)
at CatalogInstaller.installCatalog (dist/cjs/CatalogInstaller.js:74:44)
at Context.<anonymous> (__tests__/unit/CatalogInstaller.js:76:45)
at processImmediate (node:internal/timers:466:21)
@akromio/doubles 0.5.1
$ gattuso s
OS: linux (5.15.0-56-generic) #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022
Arch: x64
Node.js: v18.9.0
The method Monitor.hasToBeMonitorized()
is failing when a Symbol
is received as name. This parameter can be text
and Symbol
.
The method must not fail if a symbol is received.
The method is failing and the test is failing due to this issue.
No response
No response
No response
@akromio/doubles
We should add method.sleep()
for resolving a value after a delay:
method.sleep("100ms", "the-value")
Do resolve several issues needed of a delay.
No response
We must support the readable streams.
Needed due to readable streams are very used.
No response
We need to support writable streams.
Writable streams are very used.
@akromio/doubles
It's common to do log.getCall(2)
, for this reason, we need to define thirdCall.
Improve ease of use.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.