We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expect(context.jobState.collectedEntities).toMatchGraphObjectSchema({ _class: ['Service'], schema: { additionalProperties: false, properties: { _type: { const: 'google_cloud_api_service' }, category: { const: ['infrastructure'] }, state: { type: 'string', enum: ['STATE_UNSPECIFIED', 'DISABLED', 'ENABLED'], }, enabled: { type: 'boolean' }, usageRequirements: { type: 'array', items: { type: 'string' }, }, _rawData: { type: 'array', items: { type: 'object' }, } } });
The text was updated successfully, but these errors were encountered:
Ah, sweet, glad to see the _class isn't repeated in the schema.properties 👍
_class
schema.properties
Sorry, something went wrong.
fcab7e6
Merge pull request #264 from JupiterOne/263-jest-test-matcher
1379176
Fixes #263 - Introduce custom Jest test matcher for matching collecte…
toMatchGraphObjectSchema
austinkelleher
No branches or pull requests
The text was updated successfully, but these errors were encountered: