Skip to content

Instantly share code, notes, and snippets.

@manivelarjunan
Created December 2, 2018 22:44
Show Gist options
  • Save manivelarjunan/ba38032be4afb364e9ba82d00a966bce to your computer and use it in GitHub Desktop.
Save manivelarjunan/ba38032be4afb364e9ba82d00a966bce to your computer and use it in GitHub Desktop.
import { ReversePipe } from './reverse-value.pipe';
// Isolated test case.
describe('ReversePipe', () => {
it('create an instance', () => {
const pipe = new ReversePipe();
expect(pipe).toBeTruthy();
expect(pipe.transform('olleh')).toBe('hello');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment