Skip to content
Permalink
216332d86b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
14 lines (12 sloc) 373 Bytes
// check that the npm environment has set the test DB correctly
test('Jest should use the test DB', ()=> {
expect(process.env.DB_DATABASE).toBe('test_db');
})
// This test fails because 1 !== 2
xit('Testing to see if Jest works', () => {
expect(1).toBe(2)
})
// This passes because 1 === 1
xit('Testing to see if Jest works 2', () => {
expect(1).toBe(1)
})