-
I'm doing a simple pipe test: import {createPipeFactory, SpectatorPipe} from '@ngneat/spectator/jest'
import {SorPipe} from './sor.pipe'
describe('SorPipePipe ', () => {
let spectator: SpectatorPipe<SorPipe>
const createPipe = createPipeFactory(SorPipe)
it('Should switch to commas', () => {
spectator = createPipe(`{{ 'Foo::Bar' | sor }}`)
expect(spectator.element).toHaveText('Foo, Bar')
})
}) When I run it says,
Not sure if it matters but since I'm using jest-preset-angular and Angular 14, my tests get run like so:
|
Beta Was this translation helpful? Give feedback.
Answered by
grosch
Jun 22, 2022
Replies: 1 comment
-
Being handled by #562 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
grosch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Being handled by #562