Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

literate-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

literate-jasmine - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

3

package.json
{
"name": "literate-jasmine",
"description": "write tests in markdown that are parsed to specification files to run with jasmine-node",
"version": "0.0.13",
"version": "0.0.14",
"bin": {

@@ -10,3 +10,2 @@ "literate-jasmine": "./bin/literate-jasmine"

"jasmine-node": "1.13.1",
"lodash": "2.4.1",
"markdown": "0.5.0"

@@ -13,0 +12,0 @@ },

@@ -62,3 +62,4 @@ # literate-jasmine [![Build Status](https://travis-ci.org/cymen/literate-jasmine.png?branch=master)](https://travis-ci.org/cymen/literate-jasmine)

The command `literate-jasmine` is used to convert the markdown to JavaScript
(assuming you ran `npm install -g literate-jasmine`):
(assuming you ran `npm install -g literate-jasmine`). After conversion, it
also runs `jasmine-node` to execute the tests:

@@ -69,4 +70,2 @@ `literate-jasmine README.md`

Then run the jasmine tests: `jasmine-node README_spec.js`.
Take a close look at how scope works for globals. In the Mathematics section below, we

@@ -76,2 +75,1 @@ reference `PI` to reset it as a `beforeEach` so every test has `PI` reset to the correct

README. The root describe treats any code blocks after it as global setup.

@@ -1,3 +0,2 @@

var lodash = require('lodash'),
markdown = require('markdown').markdown,
var markdown = require('markdown').markdown,
ROOT_LEVEL = 1,

@@ -4,0 +3,0 @@ DESCRIBE_LEVEL = 2,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc