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
* fix(nano.d.ts): add opts and callback for relax (#225)
* fix(nano.d.ts): add opts and callback for nano.request
* fix(nano.d.ts): add opts and callback for relax and dinosaur
* Add FollowEmitter.stop() to typescript declaration file (#230)
* Patch typescript declaration file (#231)
* Add string to View.map type (#220)
addresses #219
* - Addded viewWithListAsStream function (#227)
- Added test case for viewWithListAsStream
- Added documntation for viewWithListm and viewWithListAsStream
Co-authored-by: Steven Tang <steven.yc.tang@gmail.com>
Co-authored-by: Leon <sxwei123@users.noreply.github.com>
Co-authored-by: Luiz Victor Linhares Rocha <luizvictorlrocha@gmail.com>
Co-authored-by: Luca Morandini <lmorandini@ieee.org>
// Licensed under the Apache License, Version 2.0 (the 'License'); you may not
2
+
// use this file except in compliance with the License. You may obtain a copy of
3
+
// the License at
4
+
//
5
+
// http://www.apache.org/licenses/LICENSE-2.0
6
+
//
7
+
// Unless required by applicable law or agreed to in writing, software
8
+
// distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT
9
+
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+
// License for the specific language governing permissions and limitations under
11
+
// the License.
12
+
13
+
constNano=require('..')
14
+
constCOUCH_URL='http://localhost:5984'
15
+
constnano=Nano(COUCH_URL)
16
+
constnock=require('nock')
17
+
18
+
afterEach(()=>{
19
+
nock.cleanAll()
20
+
})
21
+
22
+
test('should be able to access a MapReduce view with a list as a stream - GET /db/_design/ddoc/_list/listname/viewname - db.viewWithListAsStream',async()=>{
0 commit comments