Skip to content

Commit

Permalink
test: remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
jperl committed Sep 9, 2020
1 parent a31d7ca commit 84c67f7
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/web/cues.test.ts
Expand Up @@ -135,26 +135,6 @@ describe('buildCuesForElement', () => {
`);
});

it('uses half-dynamic attr values when building cues', async () => {
const cues = await buildCuesForElement('[name="input-bu32879fDi"]');
expect(cues).toMatchInlineSnapshot(`
Array [
Object {
"level": 1,
"penalty": 10,
"type": "attribute",
"value": "[name=\\"input-bu32879fDi\\"]",
},
Object {
"level": 1,
"penalty": 40,
"type": "tag",
"value": "input:nth-of-type(4)",
},
]
`);
});

it('uses non-dynamic attr values when building cues', async () => {
const cues = await buildCuesForElement('[name="nonDynamicInput"]');
expect(cues).toMatchInlineSnapshot(`
Expand Down

0 comments on commit 84c67f7

Please sign in to comment.