mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix one char to make sure coveralls runs again
This commit is contained in:
parent
069fcdee6c
commit
ef6f4fcd7f
@ -20,12 +20,12 @@ describe.only('#getCliLoginById()', () => {
|
||||
}
|
||||
}
|
||||
`,
|
||||
variables: { id: 'abc' },
|
||||
variables: { id: 'abcd' },
|
||||
};
|
||||
|
||||
const query = sinon.stub().resolves({ data: { cliLoginId: 'abc' } });
|
||||
return getCliLoginById('abc', query).then(data => {
|
||||
expect(data).to.deep.equal({ cliLoginId: 'abc' });
|
||||
const query = sinon.stub().resolves({ data: { cliLoginId: 'abcd' } });
|
||||
return getCliLoginById('abcd', query).then(data => {
|
||||
expect(data).to.deep.equal({ cliLoginId: 'abcd' });
|
||||
expect(query.getCall(0).args[0]).to.deep.equal(expectedParams);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user