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>

      Javascript language logo
      sveltePrism

      CodingBook

      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

        Codiga - All rights reserved 2022.