File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,14 @@ function declareVariables() {
66
66
codeExport . opts . hooks . declareVariables = new exporter . hook ( declareVariables ( ) )
67
67
68
68
function generateTestDeclaration ( name ) {
69
- return `it('test ', async function() {`
69
+ return `it('${ name } ', async function() {`
70
70
}
71
71
72
72
codeExport . opts . generateTestDeclaration = generateTestDeclaration
73
+
74
+ function generateSuiteDeclaration ( name ) {
75
+ return `describe('TestCase', function() {`
76
+ }
77
+
78
+ codeExport . opts . generateSuiteDeclaration = generateSuiteDeclaration
73
79
export default codeExport
Original file line number Diff line number Diff line change 4
4
"type" : " git" ,
5
5
"url" : " git+https://github.com/mattonem/browserstack-side-runner.git"
6
6
},
7
- "version" : " 2.1 .0" ,
7
+ "version" : " 2.2 .0" ,
8
8
"main" : " index.mjs" ,
9
9
"homepage" : " https://github.com/mattonem/browserstack-side-runner#readme" ,
10
10
"scripts" : {
You can’t perform that action at this time.
0 commit comments