Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use tape

  • Loading branch information...
commit 3f0490f360ccc8b715162e81655cdace4e1a0372 1 parent 9d5c7c6
@substack authored
Showing with 30 additions and 47 deletions.
  1. +28 −34 package.json
  2. +2 −2 testling/run.js → test/vm.js
  3. +0 −11 testling/test.sh
View
62 package.json
@@ -1,36 +1,30 @@
{
- "name" : "vm-browserify",
- "version" : "0.0.1",
- "description" : "vm module for the browser",
- "main" : "index.js",
- "directories" : {
- "example" : "example",
- "test" : "test"
- },
- "repository" : {
- "type" : "git",
- "url" : "http://github.com/substack/vm-browserify.git"
- },
- "keywords" : [
- "vm",
- "browser",
- "eval"
- ],
- "dependencies": {
- "indexof": "0.0.1"
- },
- "devDependencies" : {
- "tap" : "~0.2.1",
- "browserify" : "1.9.x"
- },
- "author" : {
- "name" : "James Halliday",
- "email" : "mail@substack.net",
- "url" : "http://substack.net"
- },
- "scripts" : {
- "test" : "tap test/*.js"
- },
- "license" : "MIT/X11",
- "engine" : { "node" : ">=0.4.0" }
+ "name": "vm-browserify",
+ "version": "0.0.1",
+ "description": "vm module for the browser",
+ "main": "index.js",
+ "repository": {
+ "type": "git",
+ "url": "http://github.com/substack/vm-browserify.git"
+ },
+ "keywords": [
+ "vm",
+ "browser",
+ "eval"
+ ],
+ "dependencies": {
+ "indexof": "0.0.1"
+ },
+ "devDependencies": {
+ "tape": "~2.3.2"
+ },
+ "author": {
+ "name": "James Halliday",
+ "email": "mail@substack.net",
+ "url": "http://substack.net"
+ },
+ "scripts": {
+ "test": "tap test/*.js"
+ },
+ "license": "MIT"
}
View
4 testling/run.js → test/vm.js
@@ -1,5 +1,5 @@
-var test = require('testling');
-var vm = require('./');
+var test = require('tape');
+var vm = require('../');
test('vmRunInNewContext', function (t) {
t.plan(5);
View
11 testling/test.sh
@@ -1,11 +0,0 @@
-#!/bin/bash
-if test -n "$1"; then
- user="$1"
-else
- echo -n 'testling account: '
- read user
-fi
-
-curl -sSNT <(tar -cf- ../index.js run.js 2>/dev/null) \
- 'http://testling.com/?main=run.js&browsers=chrome/17.0,iexplore/9.0,firefox/10.0,safari/5.1,opera/11.6' \
- -u "$user"
Please sign in to comment.
Something went wrong with that request. Please try again.