literate-jasmine
Advanced tools
Comparing version 0.0.13 to 0.0.14
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15487
2
343
73
- Removedlodash@2.4.1
- Removedlodash@2.4.1(transitive)