[
https://issues.apache.org/jira/browse/FLAGON-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873735#comment-16873735
]
Joshua Poore commented on FLAGON-339:
-------------------------------------
This is really challenging as jsdom has changed significantly requiring quite a
bit of refactoring.
# operates as a constructor now, not as exposed functions (no 'import')
# 'done' methods have been removed making asynchronous tests challenging
[https://github.com/jsdom/jsdom/issues/1926]
> Update to JSDOM for Unit Testing
> --------------------------------
>
> Key: FLAGON-339
> URL: https://issues.apache.org/jira/browse/FLAGON-339
> Project: Flagon
> Issue Type: Bug
> Components: UserALE.js
> Affects Versions: UserALE.js 2.1.0
> Reporter: Joshua Poore
> Assignee: Joshua Poore
> Priority: Major
> Fix For: UserALE.js 2.1.0
>
>
> Something like 22 of 45 unit tests use JSDOM as a prod environment emulator
> (webpage). We currently use v8, which is outdated. New version (13.1.0)
> introduces breaking changes (as of v10). Namely there are
> scripting/syntactical differences in how environments are configured and
> called.
> Update to current version 13.1.0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)