Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Stefan committed Aug 28, 2019
1 parent d070e7b commit 8266403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/ZapierSchemaGenerator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ describe("ZapierSchemaGenerator", () => {
const schemas = generator.getZapierSchema(schema);
const startWithDoubleUnderscore = schemas
.map((prop: any) => prop.key)
.filter(propKey => !propKey.startsWith(key))
.filter(propKey => propKey.startsWith(key))
.filter((keyInList: string) => !keyInList.includes(key + "__"));
expect(startWithDoubleUnderscore.length).toEqual(0);
});
Expand Down

0 comments on commit 8266403

Please sign in to comment.