Created
March 20, 2019 23:47
-
-
Save meza/e7bc056ca377c805e341952c9e5eac59 to your computer and use it in GitHub Desktop.
False Positive test
This file contains 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
const functionUnderTest = (input) => { | |
return "I'm a teapot" | |
} | |
describe('Simple test', () => { | |
it('Expects something to happen', () => { | |
const config = { | |
veryImportant: 'setting' | |
}; | |
const result = functionUnderTest(config); | |
expect(result).toBe("I'm a teapot"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment