Skip to content

Commit f4891d8

Browse files
authored
Merge pull request #702 from BitGo/fix-generate-a-new-release
fix: generate a new release
2 parents 4deae13 + ea7a770 commit f4891d8

File tree

9 files changed

+32
-32
lines changed

9 files changed

+32
-32
lines changed

packages/openapi-generator/test/apiSpec.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ async function testCase(
5050
}
5151
}
5252

53-
assert.deepStrictEqual(errors, expectedErrors);
54-
assert.deepStrictEqual(actual, expected);
53+
assert.deepEqual(errors, expectedErrors);
54+
assert.deepEqual(actual, expected);
5555
});
5656
}
5757

packages/openapi-generator/test/codec.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ async function testCase(
3535
}
3636
}
3737

38-
assert.deepStrictEqual(errors, expectedErrors);
39-
assert.deepStrictEqual(actual, expected);
38+
assert.deepEqual(errors, expectedErrors);
39+
assert.deepEqual(actual, expected);
4040
});
4141
}
4242

packages/openapi-generator/test/jsdoc.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test('comment with description only', () => {
2323
summary: 'A simple route',
2424
};
2525

26-
assert.deepStrictEqual(parseJSDoc(comment), expected);
26+
assert.deepEqual(parseJSDoc(comment), expected);
2727
});
2828

2929
test('comment with description and summary', () => {
@@ -40,7 +40,7 @@ test('comment with description and summary', () => {
4040
description: 'This is a description',
4141
};
4242

43-
assert.deepStrictEqual(parseJSDoc(comment), expected);
43+
assert.deepEqual(parseJSDoc(comment), expected);
4444
});
4545

4646
test('comment with description and summary with empty tags', () => {
@@ -64,7 +64,7 @@ test('comment with description and summary with empty tags', () => {
6464
},
6565
};
6666

67-
assert.deepStrictEqual(parseJSDoc(comment), expected);
67+
assert.deepEqual(parseJSDoc(comment), expected);
6868
});
6969

7070
test('comment with description and summary with tags', () => {
@@ -86,7 +86,7 @@ test('comment with description and summary with tags', () => {
8686
},
8787
};
8888

89-
assert.deepStrictEqual(parseJSDoc(comment), expected);
89+
assert.deepEqual(parseJSDoc(comment), expected);
9090
});
9191

9292
test('comment with description and multi-line markdown summary', () => {
@@ -107,7 +107,7 @@ test('comment with description and multi-line markdown summary', () => {
107107
description: 'This is a description\n\n```\nThis is a code block\n```',
108108
};
109109

110-
assert.deepStrictEqual(parseJSDoc(comment), expected);
110+
assert.deepEqual(parseJSDoc(comment), expected);
111111
});
112112

113113
test('comment with a summary and tags', () => {
@@ -126,7 +126,7 @@ test('comment with a summary and tags', () => {
126126
},
127127
};
128128

129-
assert.deepStrictEqual(parseJSDoc(comment), expected);
129+
assert.deepEqual(parseJSDoc(comment), expected);
130130
});
131131

132132
test('comment with a summary, description, and a tag in the middle of the description', () => {
@@ -150,5 +150,5 @@ test('comment with a summary, description, and a tag in the middle of the descri
150150
},
151151
};
152152

153-
assert.deepStrictEqual(parseJSDoc(comment), expected);
153+
assert.deepEqual(parseJSDoc(comment), expected);
154154
});

packages/openapi-generator/test/openapi.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ async function testCase(
5151
schemas,
5252
);
5353

54-
assert.deepStrictEqual(errors, expectedErrors);
55-
assert.deepStrictEqual(actual, expected);
54+
assert.deepEqual(errors, expectedErrors);
55+
assert.deepEqual(actual, expected);
5656
});
5757
}
5858

packages/openapi-generator/test/optimize.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test('intersections are simplified', () => {
3333
required: ['foo'],
3434
};
3535

36-
assert.deepStrictEqual(optimize(input), expected);
36+
assert.deepEqual(optimize(input), expected);
3737
});
3838

3939
test('unions are combined', () => {
@@ -47,7 +47,7 @@ test('unions are combined', () => {
4747

4848
const expected: Schema = { type: 'string', enum: ['foo', 'bar'] };
4949

50-
assert.deepStrictEqual(optimize(input), expected);
50+
assert.deepEqual(optimize(input), expected);
5151
});
5252

5353
test('undefined properties are simplified', () => {
@@ -68,7 +68,7 @@ test('undefined properties are simplified', () => {
6868
required: [],
6969
};
7070

71-
assert.deepStrictEqual(optimize(input), expected);
71+
assert.deepEqual(optimize(input), expected);
7272
});
7373

7474
test('undefined property unions are simplified', () => {
@@ -93,7 +93,7 @@ test('undefined property unions are simplified', () => {
9393
required: ['bar'],
9494
};
9595

96-
assert.deepStrictEqual(optimize(input), expected);
96+
assert.deepEqual(optimize(input), expected);
9797
});
9898

9999
test('enums are deduplicated', () => {
@@ -110,7 +110,7 @@ test('enums are deduplicated', () => {
110110
enum: ['foo', 'bar'],
111111
};
112112

113-
assert.deepStrictEqual(optimize(input), expected);
113+
assert.deepEqual(optimize(input), expected);
114114
});
115115

116116
test('comments are exposed in objects', () => {
@@ -142,5 +142,5 @@ test('comments are exposed in objects', () => {
142142
},
143143
};
144144

145-
assert.deepStrictEqual(optimize(input), expected);
145+
assert.deepEqual(optimize(input), expected);
146146
});

packages/openapi-generator/test/project.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ async function testCase(
4040
}
4141
}
4242

43-
assert.deepStrictEqual(errors, expectedErrors);
44-
assert.deepStrictEqual(actual, expected);
43+
assert.deepEqual(errors, expectedErrors);
44+
assert.deepEqual(actual, expected);
4545
});
4646
}
4747

packages/openapi-generator/test/ref.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test('simple ref is returned', () => {
1010
location: '/foo.ts',
1111
};
1212

13-
assert.deepStrictEqual(getRefs(schema), [schema]);
13+
assert.deepEqual(getRefs(schema), [schema]);
1414
});
1515

1616
test('array ref is returned', () => {
@@ -23,7 +23,7 @@ test('array ref is returned', () => {
2323
},
2424
};
2525

26-
assert.deepStrictEqual(getRefs(schema), [
26+
assert.deepEqual(getRefs(schema), [
2727
{
2828
type: 'ref',
2929
name: 'Foo',
@@ -49,7 +49,7 @@ test('intersection ref is returned', () => {
4949
],
5050
};
5151

52-
assert.deepStrictEqual(getRefs(schema), [
52+
assert.deepEqual(getRefs(schema), [
5353
{
5454
type: 'ref',
5555
name: 'Foo',
@@ -80,7 +80,7 @@ test('union ref is returned', () => {
8080
],
8181
};
8282

83-
assert.deepStrictEqual(getRefs(schema), [
83+
assert.deepEqual(getRefs(schema), [
8484
{
8585
type: 'ref',
8686
name: 'Foo',
@@ -111,7 +111,7 @@ test('tuple ref is returned', () => {
111111
],
112112
};
113113

114-
assert.deepStrictEqual(getRefs(schema), [
114+
assert.deepEqual(getRefs(schema), [
115115
{
116116
type: 'ref',
117117
name: 'Foo',
@@ -143,7 +143,7 @@ test('object ref is returned', () => {
143143
required: ['foo', 'bar'],
144144
};
145145

146-
assert.deepStrictEqual(getRefs(schema), [
146+
assert.deepEqual(getRefs(schema), [
147147
{
148148
type: 'ref',
149149
name: 'Foo',
@@ -167,7 +167,7 @@ test('record ref is returned', () => {
167167
},
168168
};
169169

170-
assert.deepStrictEqual(getRefs(schema), [
170+
assert.deepEqual(getRefs(schema), [
171171
{
172172
type: 'ref',
173173
name: 'Foo',

packages/openapi-generator/test/resolve.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ async function testCase(
4242
}
4343
}
4444

45-
assert.deepStrictEqual(errors, expectedErrors);
46-
assert.deepStrictEqual(actual, expected);
45+
assert.deepEqual(errors, expectedErrors);
46+
assert.deepEqual(actual, expected);
4747
});
4848
}
4949

packages/openapi-generator/test/route.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ async function testCase(
5151
}
5252
}
5353

54-
assert.deepStrictEqual(errors, expectedErrors);
55-
assert.deepStrictEqual(actual, expected);
54+
assert.deepEqual(errors, expectedErrors);
55+
assert.deepEqual(actual, expected);
5656
});
5757
}
5858

0 commit comments

Comments
 (0)