How can I include JS code in theme app extensions?

It’s not working. giving 404 error.

Below is the code & test.js file is in assets folder of theme app extension