@@ -21,7 +21,6 @@ import {
2121 withSDK ,
2222 waitForFileToExist ,
2323 getFixtureWorkspaceFolder ,
24- skipCI ,
2524} from "./suiteTestUtils" ;
2625
2726suite ( "PDC Test Suite" , ( ) => {
@@ -71,35 +70,33 @@ suite("PDC Test Suite", () => {
7170
7271 test (
7372 "pdc-configuration" ,
74- withSDK (
75- skipCI ( async ( ) => {
76- const fixture = "pdc-configuration" ;
77- const index = 2 ;
78-
79- const tasks = await vscode . tasks . fetchTasks ( { type : TaskType . pdc } ) ;
80- assert . strictEqual ( tasks . length , 3 ) ;
81- assertTaskFixture ( tasks [ 0 ] , "basic-configuration" ) ;
82- assertTaskFixture ( tasks [ 1 ] , "override-configuration" ) ;
83- assertTaskFixture ( tasks [ index ] , fixture ) ;
84-
85- const { sourcePath } = await resolveConfig ( fixture ) ;
86- const originalPDXInfo = await readPDXInfo ( sourcePath ) ;
87- assert . strictEqual ( originalPDXInfo . buildNumber , "1" ) ;
88-
89- await runTask ( tasks [ index ] ) ;
90-
91- const pdxPath = path . resolve (
92- getFixturePath ( fixture ) ,
93- "PDC Configuration.pdx" ,
94- ) ;
95- await waitForFileToExist ( pdxPath ) ;
96-
97- const pdxInfo = await readPDXInfo ( sourcePath ) ;
98- assert . strictEqual ( pdxInfo . buildNumber , "2" ) ;
99-
100- await cleanPDXBundles ( ) ;
101- await writePDXInfo ( originalPDXInfo , sourcePath ) ;
102- } ) ,
103- ) ,
73+ withSDK ( async ( ) => {
74+ const fixture = "pdc-configuration" ;
75+ const index = 2 ;
76+
77+ const tasks = await vscode . tasks . fetchTasks ( { type : TaskType . pdc } ) ;
78+ assert . strictEqual ( tasks . length , 3 ) ;
79+ assertTaskFixture ( tasks [ 0 ] , "basic-configuration" ) ;
80+ assertTaskFixture ( tasks [ 1 ] , "override-configuration" ) ;
81+ assertTaskFixture ( tasks [ index ] , fixture ) ;
82+
83+ const { sourcePath } = await resolveConfig ( fixture ) ;
84+ const originalPDXInfo = await readPDXInfo ( sourcePath ) ;
85+ assert . strictEqual ( originalPDXInfo . buildNumber , "1" ) ;
86+
87+ await runTask ( tasks [ index ] ) ;
88+
89+ const pdxPath = path . resolve (
90+ getFixturePath ( fixture ) ,
91+ "PDC Configuration.pdx" ,
92+ ) ;
93+ await waitForFileToExist ( pdxPath ) ;
94+
95+ const pdxInfo = await readPDXInfo ( sourcePath ) ;
96+ assert . strictEqual ( pdxInfo . buildNumber , "2" ) ;
97+
98+ await cleanPDXBundles ( ) ;
99+ await writePDXInfo ( originalPDXInfo , sourcePath ) ;
100+ } ) ,
104101 ) ;
105102} ) ;
0 commit comments