Skip to content
This repository was archived by the owner on May 1, 2023. It is now read-only.

Commit 9749161

Browse files
committed
replace gulp-jasmine with jasmine
1 parent b1a550e commit 9749161

File tree

6 files changed

+131
-56
lines changed

6 files changed

+131
-56
lines changed

bower.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

gulpfile.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

package-lock.json

Lines changed: 117 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Finds degree of similarity between strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.",
55
"main": "compare-strings.js",
66
"scripts": {
7-
"test": "gulp test"
7+
"test": "jasmine"
88
},
99
"repository": {
1010
"type": "git",
@@ -26,9 +26,7 @@
2626
"author": "Akash Kurdekar <[email protected]> (http://untilfalse.com/)",
2727
"license": "ISC",
2828
"devDependencies": {
29-
"gulp": "^3.9.1",
30-
"gulp-jasmine": "^2.3.0",
31-
"gulp-watch": "^4.3.6"
29+
"jasmine": "^3.2.0"
3230
},
3331
"dependencies": {
3432
"lodash": "^4.13.1"

compare-strings.spec.js renamed to spec/compare-strings.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var stringSimilarity = require('./compare-strings');
1+
var stringSimilarity = require('../compare-strings');
22

33
describe('compareTwoStrings', function () {
44
var compareTwoStrings = stringSimilarity.compareTwoStrings;

spec/support/jasmine.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"spec_dir": "spec",
3+
"spec_files": [
4+
"**/*[sS]pec.js"
5+
],
6+
"helpers": [
7+
"helpers/**/*.js"
8+
],
9+
"stopSpecOnExpectationFailure": false,
10+
"random": true
11+
}

0 commit comments

Comments
 (0)