Commit 648024b9 authored by Mark Stenglein's avatar Mark Stenglein

Added initial DelegatorsParam and spec

- Still needs to be finalized, but this has been out of VCS for
  too long and needs to be pushed up so it doesn't dissapear.
Signed-off-by: Mark Stenglein's avatarMark Stenglein <mstengle@gmu.edu>
parent 2e18e033
Pipeline #1097 passed with stages
in 37 seconds
......@@ -29,11 +29,11 @@ export default class DelegatorsParam extends Parameter {
}
}
get delegators(): string | string[] {
get delegators(): string[] {
return this._delegators;
}
set delegators(newDelegators: string | string[]) {
set delegators(newDelegators: string[]) {
this._delegators = newDelegators;
}
}
/*
* lib-ical
* Copyright (C) 2017 Mark Stenglein
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import DelegatorsParam from "../src/DelegatorsParam";
import { expect } from "chai";
import "mocha";
/**
* Test the DelegatorsParam class.
*/
describe("DelegatorsParam", () => {
it("Should exist", () => {
expect(DelegatorsParam).to.exist;
});
});
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