Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

guardian/scribe-plugin-noting

Repository files navigation

Scribe Plugin Noting

Build information

Circle CI

Environment

Build and integration test verified to work with Node 4.2.4.

Setup

To install dependecies:

$ npm install

Building

To build, run:

$ npm run build

This will output the built source files into the build directory.

Running integration tests

The tests run against the built version so make sure you build the source first. The plugin is tested against Chrome and Firefox. To run the tests in Chrome you'll need to have ChromeDriver installed. If you're on OS X and have Homebrew then brew install chromedriver should do the trick.

To run the integration tests:

$ npm test

This will run tests on chrome only. To run tests on Firefox:

$ npm run test-firefox