Fix order of constraints in unit test
This commit is contained in:
@ -602,15 +602,6 @@ describe('testing getConstraintInfo', () => {
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
{
|
||||
type: 'intersectionOffset',
|
||||
isConstrained: false,
|
||||
value: '0',
|
||||
sourceRange: [expect.any(Number), expect.any(Number), 0],
|
||||
argPosition: { type: 'labeledArg', key: 'offset' },
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
{
|
||||
type: 'intersectionTag',
|
||||
isConstrained: false,
|
||||
@ -623,6 +614,15 @@ describe('testing getConstraintInfo', () => {
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
{
|
||||
type: 'intersectionOffset',
|
||||
isConstrained: false,
|
||||
value: '0',
|
||||
sourceRange: [expect.any(Number), expect.any(Number), 0],
|
||||
argPosition: { type: 'labeledArg', key: 'offset' },
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
],
|
||||
],
|
||||
[
|
||||
@ -1129,15 +1129,6 @@ describe('testing getConstraintInfo', () => {
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
{
|
||||
type: 'intersectionOffset',
|
||||
isConstrained: true,
|
||||
value: '0 + 0',
|
||||
sourceRange: [expect.any(Number), expect.any(Number), 0],
|
||||
argPosition: { type: 'labeledArg', key: 'offset' },
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
{
|
||||
type: 'intersectionTag',
|
||||
isConstrained: false,
|
||||
@ -1147,6 +1138,15 @@ describe('testing getConstraintInfo', () => {
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
{
|
||||
type: 'intersectionOffset',
|
||||
isConstrained: true,
|
||||
value: '0 + 0',
|
||||
sourceRange: [expect.any(Number), expect.any(Number), 0],
|
||||
argPosition: { type: 'labeledArg', key: 'offset' },
|
||||
pathToNode: expect.any(Array),
|
||||
stdLibFnName: 'angledLineThatIntersects',
|
||||
},
|
||||
],
|
||||
],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user