source:
pyenvjasmine/pyenvjasmine/tests/sample/mocks/demo.mock.js@
0:0175515fceea
Last change on this file since 0:0175515fceea was 0:0175515fceea, checked in by , 9 years ago | |
---|---|
File size: 237 bytes |
Rev | Line | |
---|---|---|
[0] | 1 | // Add mocks here for use in your specs. |
2 | // A mock is a simple JavaScript object that you will use to fake data. | |
3 | var demoUser = { | |
4 | name: "Trevor", | |
5 | birthdate: "3/2/1977" | |
6 | }, | |
7 | badUser = { | |
8 | name: "BadGuy" | |
9 | }; |
Note:
See TracBrowser
for help on using the repository browser.