Skip to content

Update spectre test file template #23

Description

@OrandiH

The test file template in the spectre qa module should be updated to have details instead of the bare bones test file that gets created today.

The template should be updated to the following:

// All imports go here
// Remember to use async/await syntax within it block
import { expect } from 'chai';

describe('<test-name> test scenarios', async () => {
  it('should carry out some action', async () => {
    // Enter test details
  });
});

The method to scaffold the test file from the template should also be updated to ensure the correct template string is replaced.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions