Commit 10feabc8 authored by VladikB's avatar VladikB

Alles funktioniert

parent 96aedc46
import { TestBed } from '@angular/core/testing';
import { BonusTokenService } from './bonus-token.service';
describe('BonusTokenService', () => {
let service: BonusTokenService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(BonusTokenService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});
import {Injectable} from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class BonusTokenService {
public bonusToken: string;
constructor() {
this.bonusToken = 'afsml8';
}
public getToken(): string {
return this.bonusToken;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment