Socket
Socket
Sign inDemoInstall

testee-client

Package Overview
Dependencies
41
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0-pre.6 to 0.4.0

2

build.js

@@ -5,3 +5,3 @@ const path = require('path');

stealTools.export({
system: {
steal: {
config: path.join(__dirname, 'package.json!npm')

@@ -8,0 +8,0 @@ },

{
"name": "testee-client",
"version": "0.4.0-pre.6",
"version": "0.4.0",
"description": "Testee testing framework client adapters",

@@ -30,3 +30,3 @@ "main": "src/index",

],
"system": {
"steal": {
"main": "testee-client/index",

@@ -40,3 +40,3 @@ "directories": {

},
"socket.io-client/socket.io": {
"socket.io-client/dist/socket.io": {
"format": "amd"

@@ -54,3 +54,3 @@ }

"feathers-rest": "^1.5.0",
"superagent": "^2.3.0"
"superagent": "^3.0.0"
},

@@ -73,3 +73,3 @@ "devDependencies": {

"qunitjs": "^1.23.1",
"socket.io-client": "^1.4.8",
"socket.io-client": "^1.7.2",
"steal": "^1.0.0-rc.3",

@@ -76,0 +76,0 @@ "steal-tools": "^1.0.0-rc.1"

@@ -10,3 +10,3 @@ require('core-js/client/core');

var superagent = require('superagent/lib/client');
var io = require('socket.io-client/socket.io');
var io = require('socket.io-client/dist/socket.io');
var socketio = require('feathers-socketio/client');

@@ -13,0 +13,0 @@

@@ -63,3 +63,4 @@ var _ = {

data = Object.assign({
status: 'passed'
status: 'passed',
state: 'passed'
}, data);

@@ -71,3 +72,4 @@ this.call('tests', 'patch', data.id, data);

data = Object.assign({
status: 'failed'
status: 'failed',
state: 'failed'
}, data);

@@ -74,0 +76,0 @@ this.call('tests', 'patch', data.id, data);

@@ -0,1 +1,5 @@

function inRange(expected, current, range) {
return (current - range) <= expected && (current + range) >= expected;
}
// Recursively compares if an actual object has the same properties

@@ -12,2 +16,4 @@ var compare = window.compare = function(reference, actual, name) {

compare(expected, current, name + ' ' + key);
} else if(key === 'duration') {
ok(inRange(expected, current, 20), name + ' ' + key + ' === ' + expected + '(+/- 20)');
} else {

@@ -14,0 +20,0 @@ equal(expected, current, name + ' ' + key + ' === ' + expected);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc