mirror of
https://github.com/strapi/strapi.git
synced 2025-11-17 02:28:30 +00:00
Merge pull request #16536 from strapi/fix/typescript-generators-tests
This commit is contained in:
commit
629cfdc900
@ -68,7 +68,6 @@ describe('Utils', () => {
|
|||||||
describe('Get Definition Attributes Count', () => {
|
describe('Get Definition Attributes Count', () => {
|
||||||
const createMainNode = (members = []) => {
|
const createMainNode = (members = []) => {
|
||||||
return factory.createInterfaceDeclaration(
|
return factory.createInterfaceDeclaration(
|
||||||
undefined,
|
|
||||||
undefined,
|
undefined,
|
||||||
factory.createIdentifier('Foo'),
|
factory.createIdentifier('Foo'),
|
||||||
undefined,
|
undefined,
|
||||||
@ -79,7 +78,6 @@ describe('Utils', () => {
|
|||||||
|
|
||||||
const createPropertyDeclaration = (name, type) => {
|
const createPropertyDeclaration = (name, type) => {
|
||||||
return factory.createPropertyDeclaration(
|
return factory.createPropertyDeclaration(
|
||||||
undefined,
|
|
||||||
undefined,
|
undefined,
|
||||||
factory.createIdentifier(name),
|
factory.createIdentifier(name),
|
||||||
undefined,
|
undefined,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user