Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. it('should fetch authentication token', function() {
  2. let GET_received = false;
  3. server.get('auth.py', req => {
  4. GET_received = true;
  5. req.sendStatus(200);
  6. });
  7.  
  8. const html = app.runHtml('<my-component></my-component>');
  9.  
  10. expect(GET_received).toBeTruthy();
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement