Found answer:
By adding the following to the karma configuration file:
files: [
....
{ pattern: 'mocks/**/*.html', watched: true, served: true, included: false },
....
I managed to access the desired file by viewing
http://localhost:9876/base/mocks/file.html
source
share