var expect = require('expect.js'),
    CookieList = require('../../lib/index.js').CookieList;

/* global describe, it */
describe('CookieList', function () {
    describe('.isCookieList', function () {
        it('should correctly identify a CookieList instance', function () {
            var cookieList = new CookieList({}, [{
                domain: '.httpbin.org',
                expires: 1502442248,
                hostOnly: false,
                httpOnly: false,
                key: '_ga',
                path: '/',
                secure: false,
                session: false,
                _postman_storeId: '0',
                value: 'GA1.2.113558537.1435817423'
            }]);

            expect(CookieList.isCookieList()).to.eql(false);
            expect(CookieList.isCookieList(cookieList)).to.eql(true);
            expect(CookieList.isCookieList({})).to.eql(false);
            expect(CookieList.isCookieList({ _postman_propertyName: 'CookieList' })).to.eql(false);
        });
    });
});

@@ -19,19 +19,21 @@
 re('
+chai').
 expect
-.js')
 ,%0A  
@@ -94,34 +94,8 @@
 t;%0A%0A
-/* global describe, it */%0A
 desc
@@ -713,34 +713,32 @@
 eList()).to.
-eql(
+be.
 false
-)
 ;%0A          
@@ -790,17 +790,15 @@
 .to.
-eql(
+be.
 true
-)
 ;%0A  
@@ -842,34 +842,32 @@
 ist(%7B%7D)).to.
-eql(
+be.
 false
-)
 ;%0A          
@@ -948,18 +948,16 @@
 .to.
-eql(
+be.
 false
-)
 ;%0A  

Update cookie-list tests to chai