This file contains hidden or 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
| # frozen_string_literal: true | |
| require 'application_system_test_case' | |
| class FacebookLoginTest < ApplicationSystemTestCase | |
| # create new test user with Koala Gem | |
| def setup | |
| @test_users = Koala::Facebook::TestUsers.new | |
| @user = @test_users.create(false) |
This file contains hidden or 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
| # frozen_string_literal: true | |
| require 'application_system_test_case' | |
| class FacebookLoginTest < ApplicationSystemTestCase | |
| # create new test user with Koala Gem | |
| def setup | |
| @test_users = Koala::Facebook::TestUsers.new | |
| @user = @test_users.create(false) |
This file contains hidden or 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
| /* | |
| * QUESTION 1: | |
| * Write a code snippet that would transform "animalCollective" into "expected" | |
| */ | |
| const animalCollective = [ | |
| {type: 'dog', name: 'bobi'}, | |
| {type: 'fish', name: 'glup'}, | |
| {type: 'fish', name: 'glup the second'}, | |
| {type: 'cat', name: 'Aaron'} |
This file contains hidden or 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
| import { Component } from '@angular/core'; | |
| import { combineLatest, Subject, of, empty, Observable } from 'rxjs'; | |
| import { map, tap, expand } from 'rxjs/operators'; | |
| @Component({ | |
| selector: 'my-app', | |
| template: ` | |
| <input type="text" (input)="term$.next($event.target.value)" /> | |
| <div *ngIf="users$ | async as users"> |
OlderNewer