3.0.2 • Published 4 years ago

boxrec-mocks v3.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

BoxRec Mocks

Makes request to BoxRec and saves the pages as HTML files. To be used for testing purposes.

Installation

yarn add boxrec-mocks -D

or

npm install boxrec-mocks -D

Generating the mocks

Set environment variables

export BOXREC_USERNAME=
export BOXREC_PASSWORD=

and then run

yarn start

Usage (importing into other projects for testing purposes)

npm link this project to your project

then in your project import it

// import all
import * as BoxrecMocks from "boxrec-mocks";

or

// import one mock
import {mockMiddleweightWBCBelt} from "boxrec-mocks";

or

// import all
const boxrecMocks = require("boxrec-mocks");

Note

Not affiliated with the website BoxRec

3.0.2

4 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago