All Questions
6
questions
0
votes
1
answer
145
views
Chutzpah doesn't detect jasmine tests in Typescript with AMD modules
We are trying to figure out a approach for UI testing and felt chutzpah will be a nice option.
I wrote jasmine tests using typescript and requirejs. Chutzpah is able to detect the sample tests which ...
0
votes
1
answer
510
views
Testing TypeScript modules with Jasmine and ReSharper
I have the following Jasmine test in a TypeScript file in a VS2017 project:
describe("A trivial test", () => {
it("Should pass", () => {
expect(true).toBeTruthy();
});
});
This runs ...
1
vote
1
answer
726
views
How to use Jasmine to Spy on Modules being loaded by requireJS?
So I'm using Typescript/RequireJs/Jasmine, and can't get my spy to work for modules loaded in another module.
Here is my Spec:
import { CrmWebApiLib } from "../../../webresources/allgnt_/scripts/...
1
vote
2
answers
2k
views
Karma test run with Jasmine cannot find TypeScript module
I want to test my TypeScript code with Jasmine executed by Karma.
Unfortunately the Karma is unable to find my module and exists with "Module name has not been loaded yet for context".
My ...
0
votes
1
answer
216
views
Can't figure out where to put require.config when using TypeScript, RequireJs, and Jasmine
I've been following the pattern for setting up TypeScript, RequireJS, and Jasmine that Steve Fenton describes here:
https://www.stevefenton.co.uk/Content/Blog/Date/201407/Blog/Combining-TypeScript-...
4
votes
2
answers
1k
views
RequireJS not loading modules properly using karma and typescript
I am trying to set up unit testing for a SPA using karma/jasmine
First of all, the following test runs just fine in karma:
/// <reference path="../../definitions/jasmine/jasmine.d.ts" />
/// &...