You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -88,7 +88,7 @@ test.set('--option value value ...', async function () {
88
88
a.deepEqual(arr,['one','here'])
89
89
})
90
90
91
-
skip.set('from many, to many',asyncfunction(){
91
+
test.set('from many, to many',asyncfunction(){
92
92
constvalidCommands=[
93
93
'/help',
94
94
'/users',
@@ -100,14 +100,21 @@ skip.set('from many, to many', async function () {
100
100
'/join'
101
101
]
102
102
103
-
constarr=['/join','r','/nick','lloyd']
103
+
constarr=['/join','roomA','/nick','lloyd']
104
104
constresult=fromTo(arr,{
105
105
from: validCommands,
106
-
to: validCommands
106
+
to: validCommands,
107
+
remove: true
108
+
})
109
+
constresult2=fromTo(arr,{
110
+
from: validCommands,
111
+
to: validCommands,
112
+
remove: true
107
113
})
108
114
/* Priority should be given to "first in the array", not "first in the from list". Is order in the argv more meaningful than order in the from list? */
0 commit comments