This repository was archived by the owner on Apr 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ var assert = require('assert');
1919var defaultConfig = require ( '../src/agent/config.js' ) ;
2020var Debuglet = require ( '../src/agent/debuglet.js' ) ;
2121var extend = require ( 'extend' ) ;
22+ var path = require ( 'path' ) ;
2223
2324var DEBUGGEE_ID = 'bar' ;
2425var API = 'https://clouddebugger.googleapis.com' ;
@@ -308,7 +309,7 @@ describe('Debuglet', function() {
308309
309310
310311 it ( 'should pass source context to api if present' , function ( done ) {
311- process . chdir ( 'test/ fixtures') ;
312+ process . chdir ( path . join ( __dirname , ' fixtures') ) ;
312313
313314 var debug = require ( '..' ) (
314315 { projectId : 'fake-project' , credentials : fakeCredentials } ) ;
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ function validateBreakpoint(breakpoint) {
113113
114114describe ( 'v8debugapi' , function ( ) {
115115 var config = extend ( { } , defaultConfig , {
116- workingDirectory : path . join ( process . cwd ( ) , 'test' ) ,
116+ workingDirectory : __dirname ,
117117 forceNewAgent_ : true
118118 } ) ;
119119 var logger = common . logger ( { logLevel : config . logLevel } ) ;
You can’t perform that action at this time.
0 commit comments