[ 
https://issues.apache.org/jira/browse/DISPATCH-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated DISPATCH-1775:
---------------------------------
    Description: 
There were four {{.js}} files with tests from DISPATCH-1049 that got deleted 
when the stand-alone directory was removed in DISPATCH-1358.

The tests are only slightly out of date now, and most issues caused by change 
from chai to jest test framework can be quickly resolved the following way. 
Define

{code}
let assert = {
  'equal': function(a, b) {
    return expect(a).toEqual(b);
  }
}
{code}

then apply the inline refactoring in the IDE.

  was:
There were four {{.js}} files with tests that got deleted when the stand-alone 
directory was removed in DISPATCH-1358.

The tests are only slightly out of date now, and most issues caused by change 
from chai to jest test framework can be quickly resolved the following way. 
Define

{code}
let assert = {
  'equal': function(a, b) {
    return expect(a).toEqual(b);
  }
}
{code}

then apply the inline refactoring in the IDE.


> Restore console tests added in DISPATCH-1049 and removed in DISPATCH-1358
> -------------------------------------------------------------------------
>
>                 Key: DISPATCH-1775
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1775
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Console
>    Affects Versions: 1.14.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Minor
>             Fix For: 1.15.0
>
>
> There were four {{.js}} files with tests from DISPATCH-1049 that got deleted 
> when the stand-alone directory was removed in DISPATCH-1358.
> The tests are only slightly out of date now, and most issues caused by change 
> from chai to jest test framework can be quickly resolved the following way. 
> Define
> {code}
> let assert = {
>   'equal': function(a, b) {
>     return expect(a).toEqual(b);
>   }
> }
> {code}
> then apply the inline refactoring in the IDE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to