Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: node_js

node_js:
- "node"
- 8

install:
- "npm install"

script:
- "gulp test:travis"
- "gulp test:travis"
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
TypeMoq [![build badge](https://travis-ci.org/florinn/typemoq.svg?branch=master)](https://travis-ci.org/florinn/typemoq)
TypeMoq (Continued) - Community Fork [![build badge](https://travis-ci.com/typemoq/typemoq.svg?branch=master)](https://travis-ci.com/typemoq/typemoq.svg?branch=master)
===================
This is a fork of the original [Typemoq](https://github.com/florinn/typemoq) created by [florinn](https://github.com/florinn). In their absence from Github, I encourage any pull requests and issues to be added here. Should florinn ever return to Github then this repo can be merged with the original and retired.
<hr/>

Simple mocking library for JavaScript targeting [TypeScript](http://www.typescriptlang.org/) development. If you have used before a library like [Moq](https://github.com/Moq/moq4) then the syntax should look familiar, otherwise the examples below should hopefully provide enough information to get you started quickly.

Expand All @@ -16,21 +18,18 @@ Features
* Support ECMAScript 5 and 6
* Support node.js and browser

[![Sauce Test Status](https://saucelabs.com/browser-matrix/florinn.svg)](https://saucelabs.com/u/florinn)


Installing
-------------

###### Release version

```
npm install typemoq
npm install typemoq-continued
```

Or add this *NuGet* dependency to your project:
~~Or add this *NuGet* dependency to your project:~~ Not yet supported
```
PM> Install-Package typemoq
PM> Install-Package typemoq
```

The distribution directory should contain:
Expand All @@ -41,7 +40,7 @@ The distribution directory should contain:
###### Development version

```
npm install https://github.com/florinn/typemoq
npm install https://github.com/typemoq/typemoq-continued
```


Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ gulp.task('test:mocha.es6', function () {

function runMocha(srcPath) {
return gulp.src(srcPath)
.pipe($.spawnMocha({
ui: 'bdd',
.pipe($.spawnMocha({
ui: 'bdd',
reporter: 'spec',
env: {'NODE_PATH': './.tmp/src'}
}))
Expand Down Expand Up @@ -289,5 +289,5 @@ gulp.task('release', ['default'], function (cb) {
});

gulp.task('test:travis', ['build'], function (cb) {
runSequence('test:sauce', 'test:mocha', 'test:mocha.es6', cb);
runSequence('test:mocha', 'test:mocha.es6', cb);
});
Loading