Skip to content

Instantly share code, notes, and snippets.

View ElenaG518's full-sized avatar

ElenaG518 ElenaG518

View GitHub Profile
@ElenaG518
ElenaG518 / codility_solutions.txt
Created March 28, 2019 00:24 — forked from lalkmim/codility_solutions.txt
Codility Solutions in JavaScript
Lesson 1 - Iterations
- BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/
Lesson 2 - Arrays
- OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/
- CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/
Lesson 3 - Time Complexity
- FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/
- PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/
@ElenaG518
ElenaG518 / test.ts
Last active August 24, 2021 23:24 — forked from joeeames/test.ts
import { TestBed, ComponentFixture } from "@angular/core/testing"
import { NO_ERRORS_SCHEMA } from "@angular/core";
import { HeroesComponent } from "./heroes.component";
import { HeroService } from "../hero.service";
import { of } from "rxjs";
import { HeroComponent } from "../hero/hero.component";
import { By } from "@angular/platform-browser";
describe('Hero Component', () => {
@ElenaG518
ElenaG518 / test1
Created August 24, 2021 23:38 — forked from joeeames/test1
import { DebugElement } from "@angular/core";
import { ComponentFixture, TestBed } from "@angular/core/testing"
import { By } from "@angular/platform-browser";
import { HeroComponent } from "./hero.component"
describe('HeroComponent (integration tests)', () => {
let fixture: ComponentFixture<HeroComponent>;
beforeEach(() => {