Skip to content

Commit 596df6c

Browse files
committed
fix(tests): make saucie disconnect executable
1 parent 9393321 commit 596df6c

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ inject csrf tokens into your browser's network calls.
44

55
[ ![Codeship Status for cdaringe/browser-csrf](https://app.codeship.com/projects/0e58fbf0-e5cb-0134-052a-32055ecf3473/status?branch=master)](https://app.codeship.com/projects/206665) ![](https://img.shields.io/badge/standardjs-%E2%9C%93-brightgreen.svg)
66

7+
[![Sauce Test Status](https://saucelabs.com/browser-matrix/wa11-e.svg)](https://saucelabs.com/u/wa11-e)
8+
79
## what
810

911
injects a token on each:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"scripts": {
5555
"clean": "rm test/index.bundle.js",
5656
"test:dev": "testem",
57-
"test": "testem ci",
57+
"test": "testem ci --port 8080",
5858
"test:debug": "browserify test/index.js -o test/index.bundle.js && echo 'open test/index.html, remove script comment. open dev tools'",
5959
"secure": "nsp check",
6060
"prelint": "yarn run clean",

test/saucie-disconnect.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
var saucie = require('saucie')
24
var pidFile = 'sc_client.pid'
35
saucie.disconnect(pidFile)

0 commit comments

Comments
 (0)