You can configure the extension with the following settings:
{
// Prefix for test files, default: 'test'
"testPilot.testFileExtensionPrefix": "spec",
// Add the extension in the import statement, default: false
"testPilot.addExtensionInImport": true,
// Extra imports to add in the new test file, default: []
"testPilot.extraImportsForNewTestFiles": ["import { expect } from 'chai';"]
}