-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Karma tests issue #3
Comments
I've tried to reproduce that, but looks it is working just fine on my side: Could you upload minimal reproduction to Github or StackBlitz, please? |
Hi @lekhmanrus, thank you for attention! I've created fresh project from the Angular CLI and added |
Thanks @AlexeyPotopakhin! I was able to reproduce the issue. I'll try to allocate some time for this issue this weekend. |
Hello there :) I have same issue with it. How is work going on to resolve the bug? :) |
Hello, |
I've found one ugly solution, but it works. I use gulpfile.js const {src, dest, series} = require('gulp');
const rename = require("gulp-rename");
const pug = require('gulp-pug');
function pug2html () {
return src('./src/**/*.pug')
.pipe(pug({ doctype: 'html' }))
.pipe(rename({ extname: '.pug' }))
.pipe(dest('.dist/src'));
}
function copyProject () {
return src('**/*')
.pipe(dest('./dist'));
}
exports.test = series(copyProject, pug2html); And in package.json: I gas it's possible to avoid |
Looks like the issue is fixed for Angular CLI >= 13.1.0-rc.0 ( |
Feature Description
Hello.
I have the following karma configuration in
karma.conf.js
:In
angular.json
:Tests not working and print the following errors:
It's looks like that
pug
templates not compiling to thehtml
code. But in development and production everything works ok. Thank you!ngx-pug-builders version: 12.0.0
Angular version: 12
Use Case
No response
The text was updated successfully, but these errors were encountered: