import Prism from 'svelte-prism'
<Prism language="javascript">
{`test('Check title', async () => {
const title = await firstWindow.title();
expect(title).toBe('MEMENTO - Svelte, TailwindCSS, Electron and TypeScript');
});`}
</Prism>
sveltePrism
The code simulates a test by invoking a function before checking the result.
Shortcut: svelte.Prisms
0 Comments
Add Comment
Log in to add a comment