Fix jasmine imports/symbol visibility.

This commit is contained in:
Oliver Rümpelein 2020-12-31 02:29:27 +01:00
parent 6b18e720a1
commit c76c2c23c3
2 changed files with 10 additions and 7 deletions

View file

@ -7,6 +7,8 @@ import {
} from "../../src/module/rolls/roll-executor"; } from "../../src/module/rolls/roll-executor";
import { RollProvider } from "../../src/module/rolls/roll-provider"; import { RollProvider } from "../../src/module/rolls/roll-provider";
import "jasmine";
describe("DS4 Rolls with one die and no modifications.", () => { describe("DS4 Rolls with one die and no modifications.", () => {
it("Should do a regular success roll.", () => { it("Should do a regular success roll.", () => {
const rollProvider: RollProvider = jasmine.createSpyObj("rollProvider", ["getNextRoll"]); const rollProvider: RollProvider = jasmine.createSpyObj("rollProvider", ["getNextRoll"]);

View file

@ -1,7 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2017", "target": "ES2017",
"lib": ["DOM", "ES6", "ES2017"], "lib": ["DOM", "ES6", "ES2017"],
"types": ["foundry-pc-types", "jasmine"] "types": ["foundry-pc-types"],
} "esModuleInterop": true
} }
}