Socket
Socket
Sign inDemoInstall

cortex-playground

Package Overview
Dependencies
20
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

7

package.json
{
"name": "cortex-playground",
"version": "0.1.0",
"version": "0.1.1",
"description": "cortex-playground",

@@ -16,3 +16,3 @@ "main": "index.js",

],
"engines": {
"engines": {
"node": ">=0.11.0"

@@ -28,3 +28,6 @@ },

"chai": "*"
},
"dependencies": {
"test-fixture": "~1.0.0"
}
}
'use strict';
var expect = require('chai').expect;
var cortex_playground = require('../');
var playground = require('../');
var node_path = require('path');
describe("playground", function(){
[
'packages',
'resources'
].forEach(function (type) {
it("playground." + type + "()", function(done){
var p = playground[type]();
var expected = node_path.join(__dirname, '..', type);
expect(p.resolve()).to.equal(expected);
expect(p.resolve('a')).to.equal(node_path.join(expected, 'a'));
done();
});
it("playground." + type + "('a')", function(done){
var p = playground[type]('a');
var expected = node_path.join(__dirname, '..', type, 'a');
expect(p.resolve()).to.equal(expected);
expect(p.resolve('a')).to.equal(node_path.join(expected, 'a'));
done();
});
});
});
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc