Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spectre test file template #23

Open
OrandiH opened this issue Dec 2, 2022 · 0 comments
Open

Update spectre test file template #23

OrandiH opened this issue Dec 2, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@OrandiH
Copy link

OrandiH commented Dec 2, 2022

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.

@OrandiH OrandiH added enhancement New feature or request good first issue Good for newcomers labels Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant