Skip to content

Commit 0f7fbbb

Browse files
committed
Fix
1 parent c1a4b1a commit 0f7fbbb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

test/integrationTests/razorFormatting.integration.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ import * as integrationHelpers from './integrationHelpers';
1111

1212
jestLib.describe(`Razor Formatting ${testAssetWorkspace.description}`, function () {
1313
jestLib.beforeAll(async function () {
14+
if (!integrationHelpers.isRazorWorkspace(vscode.workspace)) {
15+
return;
16+
}
17+
1418
const editorConfig = vscode.workspace.getConfiguration('razor');
1519
await editorConfig.update('format.enable', true);
1620

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@page "/bad"
2+
3+
<div>
4+
<p>
5+
Hello
6+
</p>
7+
</div>
8+
9+
@code{
10+
private string _x = "";
11+
}

0 commit comments

Comments
 (0)