Last active
June 10, 2019 13:01
-
-
Save eyaleizenberg/be9dceb860193ab987b4fb77ca02f45b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HelloPersonDriver } from './hello-person.driver'; | |
describe('Hello Person', () => { | |
let driver: HelloPersonDriver; | |
beforeEach(() => { | |
driver = new HelloPersonDriver(); | |
}); | |
test('should render the name from the prop', () => { | |
driver.given.name('Jenia').when.rendered(); | |
expect(driver.get.renderedName()).toBe('Jenia'); | |
}); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment