Skip to content

Commit

Permalink
Remove incomplete test
Browse files Browse the repository at this point in the history
Wasn't supposed to be part of this PR
  • Loading branch information
rictic committed Sep 4, 2023
1 parent 5cb469f commit b23fd03
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions src/test/ide.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -565,43 +565,4 @@ test('can jump from colon in scripts section to wireit config', async ({
});
});

test('can handle a script with from colon in scripts section to wireit config', async ({
rig,
}) => {
const ide = new IdeAnalyzer();
await assertDefinition(ide, {
path: rig.resolve('package.json'),
contentsWithPipe: `
{
"scripts": {
"a":| "wireit",
"b": "wireit"
},
"wireit": {
"a": {
"dependencies": ["b"]
},
"b": {
"command": "echo"
}
}
}`,
expected: {
target: `
"a": {
~~~~~~
"dependencies": ["b"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
},
~~~~~~~~~`,
targetSelection: `
"a": {
~~~`,
originSelection: `
"a": "wireit",
~~~~~~~~~~~~~`,
},
});
});

test.run();

0 comments on commit b23fd03

Please sign in to comment.