mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-28 22:30:04 -04:00
remove no-longer-applicable unit test
This commit is contained in:
parent
57e40e20ab
commit
e8fb7daaec
1 changed files with 1 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
/* global vm, render, Promise */
|
||||
/* global vm, Promise */
|
||||
const {Chromeless} = require('chromeless');
|
||||
const test = require('tap').test;
|
||||
const path = require('path');
|
||||
|
@ -101,16 +101,6 @@ const testFile = file => test(file, async t => {
|
|||
}
|
||||
});
|
||||
|
||||
const testBubbles = () => test('bubble snapshot', async t => {
|
||||
const bubbleSvg = await chromeless.goto(`file://${indexHTML}`)
|
||||
.evaluate(() => {
|
||||
const testString = '<e*&%$&^$></!abc\'>';
|
||||
return render._svgTextBubble._buildTextFragment(testString);
|
||||
});
|
||||
t.matchSnapshot(bubbleSvg, 'bubble-text-snapshot');
|
||||
t.end();
|
||||
});
|
||||
|
||||
// immediately invoked async function to let us wait for each test to finish before starting the next.
|
||||
(async () => {
|
||||
const files = fs.readdirSync(testDir())
|
||||
|
@ -120,8 +110,6 @@ const testBubbles = () => test('bubble snapshot', async t => {
|
|||
await testFile(file);
|
||||
}
|
||||
|
||||
await testBubbles();
|
||||
|
||||
// close the browser window we used
|
||||
await chromeless.end();
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue