Load aurelia-validation plugin during Jasmine unit tests - with webpack
问题 I am using Aurelia with Webpack. Based on the ESNext Skeleton Webpack. https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-esnext-webpack I have some plain JS model classes like: import {ValidationRules} from 'aurelia-validation'; export class Address { street = ''; } ValidationRules .ensure('street').required() .on(Address); As soon as I run my Jasmine tests (via Karma) and also with Wallaby, I get the error: 'Message: Did you forget to add ".plugin('aurelia-validation)" to