b0VIM 8.0>ôY™™SÛGdylanjhaveriDylans-MacBook-Pro.local~dylanjhaveri/code/drip-node/spec/lib/account_spec.js 3210#"! Utp"ad ° "çæÙØ¥xwU:ê¾¹¸—Hì ¾ g X > 7 6 ã ¸ � \ . × È ¿ ¸ ³ ° ¯ }) }) }) }) done() expect(lastReq.url).toEqual('https://my-api-key:@api.getdrip.com/v2/accounts') expect(lastReq.method).toEqual('GET') const lastReq = this.client.LAST_REQUEST if (error) return done.fail(error) this.account.list((error, resp) => { it('should make the right request and work with a callback', function (done) { }) }).catch(done.fail) done() expect(lastReq.url).toEqual('https://my-api-key:@api.getdrip.com/v2/accounts') expect(lastReq.method).toEqual('GET') const lastReq = this.client.LAST_REQUEST this.account.list().then((resp) => { it('should make the right request and return a promise', function (done) { describe('list', function () { }) this.account = new Account(this.client) this.client = clientSpy({apiKey: 'my-api-key', accountId: 'my-account-id'}) beforeEach(function () {describe('account', function () {const Account = require('../../lib/account')const clientSpy = require('../support/client_spy')'use strict'/* eslint-env jasmine */