mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
- version bump - rewrite definition to extend karma configuration with Jasmine specifc configuration properties support - tests updated - type definition configuration changes to match latest recommended setup for linting and TS details Thanks!
31 lines
666 B
TypeScript
31 lines
666 B
TypeScript
import karma = require('karma');
|
|
|
|
fdescribe('A suite', () => {
|
|
fit('contains spec with an expectation', () => {
|
|
expect(true).toBe(true);
|
|
});
|
|
});
|
|
|
|
// https://github.com/karma-runner/karma-jasmine#configuration
|
|
|
|
const testOne = (config: karma.Config) => {
|
|
config.set({
|
|
frameworks: ['jasmine'],
|
|
files: ['*.js'],
|
|
});
|
|
};
|
|
|
|
const testTwo = (config: karma.Config) => {
|
|
config.set({
|
|
client: {
|
|
jasmine: {
|
|
random: true,
|
|
seed: 4321,
|
|
oneFailurePerSpec: true,
|
|
failFast: true,
|
|
timeoutInterval: 1000,
|
|
},
|
|
},
|
|
});
|
|
};
|