Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CircleCI

Unit-test Javascript code with ava and sinon.

For example:

docker run --rm -v $(pwd)/example01/test:/app/code dcycle/ava:3
docker run --rm -v $(pwd)/example02/test:/app/code \
  -v $(pwd)/example02/code:/mycode dcycle/ava:3
docker run --rm -v $(pwd)/example03/test:/app/code \
  -v $(pwd)/example03/code:/mycode dcycle/ava:3
docker run --rm -v $(pwd)/example04/test:/app/code \
  -v $(pwd)/example04/code:/mycode dcycle/ava:3

See this project on the Docker Hub.

Migrating your test scripts from Docker Ava 2 to Docker Ava 3

Instead of

import test from 'ava'
import sinon from 'sinon'

Use:

const test = require('ava');
const sinon = require('sinon');

More resources

About

Test Javascript files with Ava.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published