templates icon indicating copy to clipboard operation
templates copied to clipboard

Name import in vitest tests to be { test as it }

Open chris-czopp opened this issue 2 years ago • 0 comments

Could we change this:

import { describe, expect, test } from 'vitest';

to this:

import { describe, expect, test as it } from 'vitest';

and then we could do it('should do stuff'...)

https://github.com/solidjs/templates/blob/master/ts-vitest/src/todo-list.test.tsx#L1

chris-czopp avatar Sep 08 '22 18:09 chris-czopp