Skip to content

Commit

Permalink
Remove timezone offset
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Mar 8, 2017
1 parent 4ec2285 commit 68043e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/shared/demoTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function webDemoTest(component, options = {}) {
testMethod = test.skip;
}
testMethod(`renders ${file} correctly`, () => {
MockDate.set(new Date('2016-11-22').getTime() + (new Date().getTimezoneOffset() * 60 * 1000));
MockDate.set(new Date('2016-11-22').getTime());
const demo = require(`../.${file}`).default; // eslint-disable-line global-require, import/no-dynamic-require
const wrapper = render(demo);
expect(renderToJson(wrapper)).toMatchSnapshot();
Expand Down

0 comments on commit 68043e8

Please sign in to comment.