@@ -135,7 +135,7 @@ describe("ci helper path", () => {
135135 } ) ;
136136 } ;
137137
138- const testDirectory = ( platform : string , subdirectory : string ) => {
138+ const testDirectory = ( platform : string , architecture : string , subdirectory : string ) => {
139139 it ( `considers the appropriate script on ${ platform } ` , ( ) => {
140140 const actualPath = matlab . getRunMATLABCommandScriptPath ( platform , architecture ) ;
141141 expect ( actualPath ) . toContain ( subdirectory ) ;
@@ -146,9 +146,10 @@ describe("ci helper path", () => {
146146 testExtension ( "darwin" , "" ) ;
147147 testExtension ( "linux" , "" ) ;
148148
149- testDirectory ( "win32" , "win64" ) ;
150- testDirectory ( "darwin" , "maci64" ) ;
151- testDirectory ( "linux" , "glnxa64" ) ;
149+ testDirectory ( "win32" , "x64" , "win64" ) ;
150+ testDirectory ( "darwin" , "x64" , "maci64" ) ;
151+ testDirectory ( "darwin" , "arm64" , "maca64" ) ;
152+ testDirectory ( "linux" , "x64" , "glnxa64" ) ;
152153
153154 it ( "errors on unsupported platform" , ( ) => {
154155 expect ( ( ) => matlab . getRunMATLABCommandScriptPath ( 'sunos' , architecture ) ) . toThrow ( ) ;
0 commit comments