79 lines
3.0 KiB
Plaintext
79 lines
3.0 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`caniusePlugin > should not work 1`] = `""`;
|
|
|
|
exports[`caniusePlugin > should not work 2`] = `
|
|
"<p>@[caniuse]xxx</p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should not work 3`] = `
|
|
"<p>@<a href=""> caniuse</a></p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should not work 4`] = `
|
|
"<p>@[caniuse](xxx</p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should not work 5`] = `
|
|
"<p>@[caniuse](</p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should not work 6`] = `
|
|
"<p>@[caniuse</p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should not work 7`] = `
|
|
"<p>@<a href="">caniuse)</a></p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should not work 8`] = `
|
|
"<p>@<a href="">caniuseee)</a></p>
|
|
"
|
|
`;
|
|
|
|
exports[`caniusePlugin > should work 1`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="1" />"`;
|
|
|
|
exports[`caniusePlugin > should work 2`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="1" baseline />"`;
|
|
|
|
exports[`caniusePlugin > should work 3`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="1" />"`;
|
|
|
|
exports[`caniusePlugin > should work 4`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="0" />"`;
|
|
|
|
exports[`caniusePlugin > should work 5`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="0" /><CanIUseViewer feature="feature" meta="test-id" :past="2" :future="0" />"`;
|
|
|
|
exports[`caniusePlugin > should work 6`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="0" />"`;
|
|
|
|
exports[`caniusePlugin > should work with options 1`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="1" baseline />"`;
|
|
|
|
exports[`caniusePlugin > should work with options 2`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="1" />"`;
|
|
|
|
exports[`caniusePlugin > should work with options 3`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="0" />"`;
|
|
|
|
exports[`legacyCaniuse > should work 1`] = `"<CanIUseViewer feature="feature" meta="test-id" :past="2" :future="1" />"`;
|
|
|
|
exports[`legacyCaniuse > should work 2`] = `"<CanIUseViewer feature="feature{-2,4}" meta="test-id" :past="2" :future="0" />"`;
|
|
|
|
exports[`legacyCaniuse > should work 3`] = `""`;
|
|
|
|
exports[`legacyCaniuse > should work with unknown mode 1`] = `
|
|
"<p><picture>
|
|
<source type="image/webp" srcset="https://caniuse.bitsofco.de/image/feature.webp">
|
|
<source type="image/png" srcset="https://caniuse.bitsofco.de/image/feature.png">
|
|
<img src="https://caniuse.bitsofco.de/image/feature.jpg" alt="Data on support for the feature feature across the major browsers from caniuse.com" width="100%">
|
|
</picture></p>"
|
|
`;
|
|
|
|
exports[`legacyCaniuse > should work with unknown mode 2`] = `
|
|
"<p><picture>
|
|
<source type="image/webp" srcset="https://caniuse.bitsofco.de/image/feature{-2,4}.webp">
|
|
<source type="image/png" srcset="https://caniuse.bitsofco.de/image/feature{-2,4}.png">
|
|
<img src="https://caniuse.bitsofco.de/image/feature{-2,4}.jpg" alt="Data on support for the feature{-2,4} feature across the major browsers from caniuse.com" width="100%">
|
|
</picture></p>"
|
|
`;
|