Version info: 
Artillery: 2.0.23
Node.js:   v20.16.0
OS:        darwin
 
Running this command:
artillery run-lambda [...] performance-tests.js
 
I expected to see this happen:
That the tests are running the same as they are running locally.
Instead, this happened:
While preparing the lambda bundle at some point the JS file is being processed by js-yaml.
This naturally fails with something along the line of YAMLException: end of the stream or a document separator is expected at line 1, column 13:
I think it's because there is a check for *.ts but not for *.js in createBOM.