-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
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
test: bump version to 1.1.0-beta #870
base: master
Are you sure you want to change the base?
Conversation
@ibgreen, It's interesting, I have all the tests run without errors.
Could you tell me in which environment the test is run? It would be great if you could forward the output of the following commands:
|
Still can't release, some mystic error "lerna ERR! E404 Not Found" |
* fix type exports, imports * fix deps linking, reduce lint warnings * unlock layers peerdeps, object type fix --------- Co-authored-by: VK <[email protected]>
Pulled latest, still failing on the WKT tests. Commented out the tests and got a clean publish
|
I will able to reproduce this crash with your versions of node and yarn. There are two ways to fix this
I think the first option is better Details:Test that falls: describe('Invalid WKT', () => {
let importData: any;
beforeEach(async () => {
importData = await parseImport('POLYGON(zzz)');
});
test('reports error', () => {
expect(importData.valid).toEqual(false);
expect(importData.validationErrors).toEqual(['Invalid WKT']);
});
}); Test report:
Error trace:
Code that call /** Check HTTP Response */
function validHTTPResponse(data: any): boolean {
// HANDLE HTTP status
if (data instanceof Response) {
// 204 - NO CONTENT. This handles cases where e.g. a tile server responds with 204 for a missing tile
if (data.status === 204) {
return false;
}
}
return true;
} |
@ibgreen please check, now it should pass |
@Akiyamka Tried to publish this as a beta but get test failures on master: