Skip to content

Commit

Permalink
fix: update core @commodo packages
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Sep 25, 2019
1 parent 7a05caa commit c405fe5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"wait-on": "^3.2.0"
},
"dependencies": {
"@commodo/fields": "^0.0.5",
"repropose": "^1.0.0"
"@commodo/fields": "^0.2.6",
"repropose": "^1.0.2"
},
"scripts": {
"cz": "git-cz",
Expand Down
3 changes: 2 additions & 1 deletion src/__tests__/date.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { withFields, WithFieldsError } from "@commodo/fields";

import { compose } from "ramda";

const Model = compose(withFields({ exampleField: object() }))(function() {});
const Model = compose(withFields({ exampleField: object() }))();

describe("field string test", () => {
test("should accept any object values", () => {
const model = new Model();
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/dateList.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { withFields, WithFieldsError } from "@commodo/fields";

import { compose } from "ramda";

const Model = compose(withFields({ field: object({ list: true }) }))(function() {});
const Model = compose(withFields({ field: object({ list: true }) }))();

test("should accept string and Object values", () => {
const model = new Model();
Expand Down

0 comments on commit c405fe5

Please sign in to comment.