Merge pull request #16536 from strapi/fix/typescript-generators-tests

This commit is contained in:
Alexandre BODIN 2023-04-27 09:48:58 +02:00 committed by GitHub
commit 629cfdc900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,6 @@ describe('Utils', () => {
describe('Get Definition Attributes Count', () => {
const createMainNode = (members = []) => {
return factory.createInterfaceDeclaration(
undefined,
undefined,
factory.createIdentifier('Foo'),
undefined,
@ -79,7 +78,6 @@ describe('Utils', () => {
const createPropertyDeclaration = (name, type) => {
return factory.createPropertyDeclaration(
undefined,
undefined,
factory.createIdentifier(name),
undefined,