Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Nov 19, 2018
1 parent 155c3df commit 3a38d9a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions test/types/object.js
Expand Up @@ -2558,8 +2558,7 @@ describe('object', () => {
message: '"value" must contain at least one of [first, second]',
path: [],
type: 'object.missing',
context:
{
context: {
peers: ['a', 'b'],
peersWithLabels: ['first', 'second'],
label: 'value',
Expand Down Expand Up @@ -2609,8 +2608,7 @@ describe('object', () => {
message: '"value" must contain at least one of [first, second]',
path: [],
type: 'object.missing',
context:
{
context: {
peers: ['a', 'b.c'],
peersWithLabels: ['first', 'second'],
label: 'value',
Expand All @@ -2634,8 +2632,7 @@ describe('object', () => {
message: '"value" contains [first] without its required peers [second]',
path: [],
type: 'object.and',
context:
{
context: {
present: ['a'],
presentWithLabels: ['first'],
missing: ['b'],
Expand Down Expand Up @@ -2689,8 +2686,7 @@ describe('object', () => {
message: '"value" contains [first] without its required peers [second]',
path: [],
type: 'object.and',
context:
{
context: {
present: ['a'],
presentWithLabels: ['first'],
missing: ['b.c'],
Expand All @@ -2713,8 +2709,7 @@ describe('object', () => {
message: '"value" contains [first] without its required peers [c.d]',
path: [],
type: 'object.and',
context:
{
context: {
present: ['a'],
presentWithLabels: ['first'],
missing: ['c.d'],
Expand Down

0 comments on commit 3a38d9a

Please sign in to comment.