Skip to main content

Angular test

Betterer ships several built-in tests to get you started. Check out the implementations for inspiration for your own tests!

@betterer/angular

Use this test to incrementally introduce Angular compiler configuration to your codebase.

import { angular } from '@betterer/angular';

export default {
'stricter template compilation': () =>
angular('./tsconfig.json', {
strictTemplates: true
}).include('./src/*.ts', './src/*.html')
};

@betterer/angular is a BettererFileTest, so you can use include, exclude, only, and skip.