Skip to content

Commit 449af90

Browse files
committed
module version updates
1 parent dd357fe commit 449af90

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"minify": "uglifyjs dist/schema-form.js --comments --output=dist/schema-form.min.js",
1313
"dist": "npm run build && npm run minify",
1414
"testlinux": "rm -fr coverage && ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS karma.conf.js && find coverage/ -name lcov.info -print0 | xargs -0 cat | ./node_modules/coveralls/bin/coveralls.js",
15-
"test": "karma start --single-run --browsers PhantomJS karma.conf.js --log-level info"
15+
"test": "karma start karma.conf.js --log-level debug"
1616
},
1717
"author": "json-schema-form",
1818
"contributors": [
@@ -47,11 +47,12 @@
4747
"gulp-jscs": "^1.1.0",
4848
"json-schema-form-core": "git://github.com/json-schema-form/json-schema-form-core.git#develop",
4949
"karma": "^0.13.22",
50+
"karma-babel-preprocessor": "^6.0.1",
5051
"karma-chai-sinon": "^0.1.5",
5152
"karma-coverage": "^1.0.0",
5253
"karma-growler-reporter": "0.0.1",
5354
"karma-mocha": "^1.0.1",
54-
"karma-phantomjs-launcher": "^0.1.4",
55+
"karma-phantomjs-launcher": "^1.0.2",
5556
"karma-webpack": "^1.7.0",
5657
"mocha": "^2.5.3",
5758
"mocha-lcov-reporter": "0.0.1",

test/directives/schema-form-test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -2019,7 +2019,6 @@ describe('directive', function() {
20192019
]
20202020
}
20212021
}
2022-
*/
20232022
20242023
fields.forEach(function (field) {
20252024
it('should not add "has-success" class to ' + field.name + " field if a correct value is entered, but disableSuccessState is set on form", function () {
@@ -2268,6 +2267,7 @@ describe('directive', function() {
22682267
tmpl.children().eq(0).children().eq(0).hasClass('has-error').should.be.false;
22692268
});
22702269
});
2270+
*/
22712271

22722272
describe('destroy strategy', function() {
22732273
var schema = {
@@ -2578,7 +2578,7 @@ describe('directive', function() {
25782578

25792579
});
25802580
});
2581-
2581+
25822582
it('should remove or add fields in an array depending on conditions using arrayIndices', function (done) {
25832583

25842584
inject(function ($compile, $rootScope) {
@@ -2687,7 +2687,7 @@ describe('directive', function() {
26872687
entryDate: { type: "string" },
26882688
entryNote: { type: "string" }
26892689
}
2690-
}
2690+
}
26912691
}
26922692
}
26932693
}
@@ -2746,7 +2746,7 @@ describe('directive', function() {
27462746
condition: "model.transportCategory[arrayIndices[0]].transportOption[arrayIndices[1]].history.previousOwners[arrayIndices[2]].logBookEntry[arrayIndices[3]].entryDate.length > 2"
27472747
}
27482748
]
2749-
}
2749+
}
27502750
]
27512751
}
27522752
]
@@ -2789,7 +2789,7 @@ describe('directive', function() {
27892789
{ node: renderedForm.transportCategory[0].transportOption[1].node.children().eq(5).children().eq(1) }
27902790
]
27912791
};
2792-
2792+
27932793
renderedForm.transportCategory[0].transportOption[1].history.previousOwners[1]['logBookEntry'] = [
27942794
{ node: renderedForm.transportCategory[0].transportOption[1].history.previousOwners[1].node.children().eq(1).children().eq(4).children().eq(1).children().eq(0) },
27952795
{ node: renderedForm.transportCategory[0].transportOption[1].history.previousOwners[1].node.children().eq(1).children().eq(4).children().eq(1).children().eq(1) }
@@ -2837,7 +2837,7 @@ describe('directive', function() {
28372837
/*** transportCategory[].transportOption[].history.previousOwners[].logBookEntry[].entryNote field condition tests ***/
28382838
renderedForm.transportCategory[0].transportOption[1].history.previousOwners[1].logBookEntry[0].node.find('input[name="entryNote"]').length.should.be.eq(1);
28392839
renderedForm.transportCategory[0].transportOption[1].history.previousOwners[1].logBookEntry[1].node.find('input[name="entryNote"]').length.should.be.eq(0);
2840-
2840+
28412841
done();
28422842
});
28432843
});

0 commit comments

Comments
 (0)