1.4.2 • Published 3 years ago

@skypager/devtools v1.4.2

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

Skypager Devtools

Provides development tools mainly used in the development of skypager itself.

Test Script

This provides the following command:

$ skypager test

So assuming your project doesn't have a scripts/test.js file it will run the test script in this project

This script starts the mocha-webpack command for you, with the webpack build config that @skypager/webpack finds for your project.

Default Test Setup

Mocha looks in test/test.js for a global test setup file. If you have one, we'll use that. If you don't provide one, by default we'll load the following default

// Load Test Environment Utilities
const chai = require('chai')
const should = chai.should() // eslint-disable-line
chai.use(require('chai-like'))
chai.use(require('chai-things'))
chai.use(require('chai-as-promised'))
const sinon = require('sinon')
const sinonChai = require('sinon-chai')

chai.use(sinonChai)

global.expect = chai.expect

// sinon provides test spies
global.sinon = sinon

Libraries Used

1.4.2

3 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.1.5

5 years ago

1.1.3

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.1-alpha.1

5 years ago

0.4.14

5 years ago

0.4.12

5 years ago

0.4.11

5 years ago

0.4.10

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.8

5 years ago

0.3.6

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.10

5 years ago

0.2.7

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.1

6 years ago