Skip to content

Commit

Permalink
bail out of windows earlier in test
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Nov 4, 2024
1 parent cd4b6fe commit ec347a2
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const path = require('path')
const { assert } = require('chai')

describe('test visibility with dynamic instrumentation', () => {
// Dynamic Instrumentation - Test Visibility not currently supported for windows
if (process.platform === 'win32') {
return
}
let childProcess

afterEach(() => {
Expand All @@ -17,11 +21,6 @@ describe('test visibility with dynamic instrumentation', () => {
})

it('can grab local variables', (done) => {
// Dynamic Instrumentation - Test Visibility not currently supported for windows
if (process.platform === 'win32') {
done()
return
}
childProcess = fork(path.join(__dirname, 'target-app', 'test-visibility-dynamic-instrumentation-script.js'))

childProcess.on('message', ({ snapshot: { language, stack, probe, captures }, snapshotId }) => {
Expand Down

0 comments on commit ec347a2

Please sign in to comment.