Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Fix test project paths
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCornelson committed Jun 3, 2019
1 parent 1a1afce commit 81090a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/int/featureBasedSuits/inlineScripts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import * as testSetup from '../testSetup';
import { puppeteerSuite } from '../puppeteer/puppeteerSuite';
import { TestProjectSpec } from '../framework/frameworkTestSupport';
import { FrameworkTestSuite } from '../framework/frameworkCommonTests';
import * as path from 'path';
import { utils } from 'vscode-chrome-debug-core';

const SINGLE_INLINE_TEST_SPEC = TestProjectSpec.fromTestPath('inline_scripts', `file:///${testSetup.DATA_ROOT.replace(/\\/g, '/')}inline_scripts/single.html`);
const MULTIPLE_INLINE_TEST_SPEC = TestProjectSpec.fromTestPath('inline_scripts', `file:///${testSetup.DATA_ROOT.replace(/\\/g, '/')}inline_scripts/multiple.html`);
const SINGLE_INLINE_TEST_SPEC = TestProjectSpec.fromTestPath('inline_scripts', utils.pathToFileURL(path.join(testSetup.DATA_ROOT, 'inline_scripts/single.html')));
const MULTIPLE_INLINE_TEST_SPEC = TestProjectSpec.fromTestPath('inline_scripts', utils.pathToFileURL(path.join(testSetup.DATA_ROOT, 'inline_scripts/multiple.html')));

suite('Inline Script Tests', () => {
puppeteerSuite('Single inline script', SINGLE_INLINE_TEST_SPEC, (suiteContext) => {
Expand Down

0 comments on commit 81090a0

Please sign in to comment.