xhr-mock

WebJar for xhr-mock

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

xhr-mock
Last Version

Last Version

1.9.0
Release Date

Release Date

Type

Type

jar
Description

Description

xhr-mock
WebJar for xhr-mock
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jameslnewell/xhr-mock

Download xhr-mock

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/xhr-mock/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>xhr-mock</artifactId>
    <version>1.9.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/xhr-mock/
implementation 'org.webjars.npm:xhr-mock:1.9.0'
// https://jarcasting.com/artifacts/org.webjars.npm/xhr-mock/
implementation ("org.webjars.npm:xhr-mock:1.9.0")
'org.webjars.npm:xhr-mock:jar:1.9.0'
<dependency org="org.webjars.npm" name="xhr-mock" rev="1.9.0">
  <artifact name="xhr-mock" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='xhr-mock', version='1.9.0')
)
libraryDependencies += "org.webjars.npm" % "xhr-mock" % "1.9.0"
[org.webjars.npm/xhr-mock "1.9.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : global jar [4.3.0,5)
org.webjars.npm : url-parse jar [1.1.7,2)

Project Modules

There are no modules declared in this project.

xhr-mock

This repo is a mono-repo managed by lernajs.

๐Ÿ“– Documentation

The documentation for the main NPM package can be found here.

๐Ÿ›  Development

Install the dependencies:

yarn
yarn run bootstrap

The NPM package

Build and test the package:

cd packages/xhr-mock
yarn run build # transpile the sources
yarn run test  # run the unit tests

The integration tests

Test the package against a few well known XHR libraries:

# NOTE: you need to build the main package first
cd packages/xhr-mock-tests
yarn run test  # run the integration tests

๐ŸŽ Contributing

Contributors are very welcome! Please raise an issue or PR on Github.

Versions

Version
1.9.0