Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Apr 19, 2022
1 parent f117f09 commit 152e4e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('ServiceNow validator', () => {
expect(connectorValidator(invalidConnector)).toEqual({ message: 'Deprecated connector' });
});

test('it does not returns an error message if the connector does not uses the table API', () => {
test('it does not return an error message if the connector does not uses the table API', () => {
const invalidConnector = {
...connector,
config: {
Expand All @@ -34,14 +34,14 @@ describe('ServiceNow validator', () => {
expect(connectorValidator(invalidConnector)).toBeFalsy();
});

test('it does not returns an error message if the config of the connector is undefined', () => {
test('it does not return an error message if the config of the connector is undefined', () => {
const { config, ...invalidConnector } = connector;

// @ts-expect-error
expect(connectorValidator(invalidConnector)).toBeFalsy();
});

test('it does not returns an error message if the config of the connector is preconfigured', () => {
test('it does not return an error message if the config of the connector is preconfigured', () => {
expect(connectorValidator({ ...connector, isPreconfigured: true })).toBeFalsy();
});
});
Expand Down

0 comments on commit 152e4e5

Please sign in to comment.