Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var desk = require('../')
, should = require('should')
, replay = require('replay')
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, articleHref
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, macroHref
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, caseUrl;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, integrationUrlHref
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, util = require('util')
, Resource = require('../lib/resource')
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, companyHref
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
, fs = require('fs')
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password
var desk = require('../')
, should = require('should')
, replay = require('replay')
;
replay.fixtures = __dirname + '/fixtures';
replay.mode = 'record';
replay.request_headers = [/^accept/, /^content-type/, /^host/, /^if-/, /^x-/];
try {
config = require('../config/test');
} catch (err) {
config = {
subdomain: 'devel',
username: 'devel@example.com',
password: '12345'
}
}
function createClient() {
return desk.createClient({
subdomain: config.subdomain ,
username: config.username,
password: config.password