Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Oct 24, 2023
1 parent aeab98b commit e75743a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ test('Ensure that all GDDTypes in README exist and passes validation', async ()
for (const typeExample of typeExamples) {
let str = typeExample.replace(/^.+?\n/, '') // remove first line "```typescript"
str = str.replace(/```$/, '') // remove last line "```"
str = str.replace(/[Optional] \/\/.*/g, '') // Remove inline comments
str = str.replace(/\/\/.*/g, '') // Remove inline comments

const gddTypeNameMatch = str.match(/"gddType": "(.*)"/)
Expand Down

0 comments on commit e75743a

Please sign in to comment.