Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it('should fetch authentication token', function() {
- let GET_received = false;
- server.get('auth.py', req => {
- GET_received = true;
- req.sendStatus(200);
- });
- const html = app.runHtml('<my-component></my-component>');
- expect(GET_received).toBeTruthy();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement