File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,13 @@ jobs:
4040 }
4141 elseif ( $pluginsToTest.Count -eq 1 ) {
4242 Write-Output "Testing only one Plugin"
43- $pluginName = ($pluginsToTest.TrimEnd('/')) -replace "plugins/" -replace "/", "-"
44- pnpm run test --ci --path="./$pluginsToTest" --pluginName="$pluginName"
43+ pnpm run test --ci --path="./$pluginsToTest"
4544 }
4645 else {
4746 Write-Output "Testing $($pluginsToTest.Count) Plugins..."
4847 foreach ( $plugin in $pluginsToTest ) {
4948 Write-Output "Testing $plugin"
50- $pluginName = ($plugin.TrimEnd('/')) -replace "plugins/" -replace "/", "-"
51- pnpm run test --ci --path="./$plugin" --pluginName="$pluginName"
49+ pnpm run test --ci --path="./$plugin"
5250 Write-Output "Tested $plugin"
5351 }
5452 }
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ A plugin is a directory in this repo of the form `plugins/`_plugin-name_`/v1` co
102102 pnpm run unitTest
103103 # If running from the root of the repo
104104 # Replace ' ExamplePlugin' with your plugin name
105- pnpm run test -- --pluginName="ExamplePlugin" --pluginPath ="plugins/ExamplePlugin/v1"
105+ pnpm run test --path ="plugins/ExamplePlugin/v1"
106106 # OR
107107 # Replace example-plugin-v1 with name from package.json of the plugin you are interested in
108108 pnpm run -F "example-plugin-v1" unitTest
You can’t perform that action at this time.
0 commit comments