You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2020/09/17 11:35:00 UTC

[jira] [Updated] (DISPATCH-1775) Restore console tests added in DISPATCH-1049 and removed in DISPATCH-1358

     [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org