mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-15 13:22:46 +00:00
fix: api-client e2e test
This commit is contained in:
@@ -159,10 +159,14 @@ describe('e2e Connector', function () {
|
|||||||
|
|
||||||
failOnLookup = false;
|
failOnLookup = false;
|
||||||
failOnCompare = true;
|
failOnCompare = true;
|
||||||
await e2eRun(httpClient, {
|
e2eRun(httpClient, {
|
||||||
to: 'http://localhost',
|
to: 'http://localhost',
|
||||||
samplesLocation: './node_modules/@openstapps/core/test/resources',
|
samplesLocation: './node_modules/@openstapps/core/test/resources',
|
||||||
}).should.eventually.include('Unexpected difference between original and retrieved sample');
|
}).should.eventually.satisfy((errors: string[]) => {
|
||||||
|
return errors.every(error => {
|
||||||
|
return error.startsWith('Unexpected difference between original and retrieved sample');
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should fail to index', async function () {
|
it('should fail to index', async function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user