guillaumelamanda / providence-server Goto Github PK
View Code? Open in Web Editor NEWlocal proxy server, writting response into dataset, and allowing to replay a dataset.
local proxy server, writting response into dataset, and allowing to replay a dataset.
When I run the providence replay
command without specific folder or the providence save
command, I get the error below:
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at join (path.js:1148:7)
at getReplayFolder (file:///home/julien/.npm-global/lib/node_modules/providence-server/src/server.js:31:12)
at start (file:///home/julien/.npm-global/lib/node_modules/providence-server/src/server.js:33:28)
at Command.<anonymous> (file:///home/julien/.npm-global/lib/node_modules/providence-server/src/cli.js:59:5)
at Command.listener [as _actionHandler] (/home/julien/.npm-global/lib/node_modules/providence-server/node_modules/commander/lib/command.js:488:17)
at /home/julien/.npm-global/lib/node_modules/providence-server/node_modules/commander/lib/command.js:1207:65
at Command._chainOrCall (/home/julien/.npm-global/lib/node_modules/providence-server/node_modules/commander/lib/command.js:1124:12)
at Command._parseCommand (/home/julien/.npm-global/lib/node_modules/providence-server/node_modules/commander/lib/command.js:1207:27)
at Command._dispatchSubcommand (/home/julien/.npm-global/lib/node_modules/providence-server/node_modules/commander/lib/command.js:1031:25) {
code: 'ERR_INVALID_ARG_TYPE'
}
Nevertheless, data is present in ~/.npm-global/lib/node_modules/providence-server/data/current/
folder
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | faker |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@commitlint/cli
, @commitlint/config-conventional
)@types/jest
, jest
).github/workflows/lint.yaml
actions/checkout v2
actions/setup-node v2
.github/workflows/publish.yaml
actions/checkout v2
actions/setup-node v2
JS-DevTools/npm-publish v1
.github/workflows/tests.yaml
actions/checkout v2
actions/setup-node v2
package.json
commander 8.3.0
express 4.18.1
faker 5.5.3
lodash.omit 4.5.0
morgan 1.10.0
node-fetch 3.2.4
@babel/eslint-parser 7.17.0
@commitlint/cli 16.2.4
@commitlint/config-conventional 16.2.4
@types/jest 27.5.2
conventional-changelog-cli 2.2.2
eslint 8.15.0
eslint-plugin-jest 25.7.0
husky 7.0.4
jest 27.5.1
lint-staged 12.4.1
prettier 2.6.2
supertest 6.2.3
node 14.19.2
Providence lets you save the current dataset into another name.
By doing that, you can replay different datasets.
However, this command is not tested yet.
A test example can be found in test folder for the default command.
To be able to do this, the test suite needs to :
Then, we can start testing the functionality.
Providence lets you replay a saved dataset. However, this command is not tested yet.
There are two possibilities of replay available :
current
dataset,A test example can be found in test folder for the default command.
To be able to do this, the test suite needs to :
Then, we can start testing the functionality.
We can also test what happens when we replay a non-existing folder. We expect the program to exit.
Providence lets you list your saved datasets. However, this command is not tested yet.
A test example can be found in test folder for the default command.
To be able to do this, the test suite needs to :
Then, we can start testing the functionality.
Many tests can be found in the repository, and this one should be easy to test. ๐
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.