Skip to content

Commit

Permalink
Update urls to reflect new github organisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed Jan 22, 2021
1 parent b5d9c1b commit 38f9304
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/Morgan-Stanley/ts-mocking-bird.git"
"url": "https://github.com/morganstanley/ts-mocking-bird.git"
},
"dependencies": {
"lodash": "^4.17.16",
Expand Down
16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# @morgan-stanley/ts-mocking-bird
![npm](https://img.shields.io/npm/v/@morgan-stanley/ts-mocking-bird)
[![Build Status](https://travis-ci.com/Morgan-Stanley/ts-mocking-bird.svg?branch=master)](https://travis-ci.com/Morgan-Stanley/ts-mocking-bird)
[![codecov](https://codecov.io/gh/Morgan-Stanley/ts-mocking-bird/branch/master/graph/badge.svg)](https://codecov.io/gh/Morgan-Stanley/ts-mocking-bird)
[![Known Vulnerabilities](https://snyk.io/test/github/Morgan-Stanley/ts-mocking-bird/badge.svg)](https://snyk.io/test/github/Morgan-Stanley/ts-mocking-bird})
[![Build Status](https://travis-ci.com/morganstanley/ts-mocking-bird.svg?branch=master)](https://travis-ci.com/morganstanley/ts-mocking-bird)
[![codecov](https://codecov.io/gh/morganstanley/ts-mocking-bird/branch/master/graph/badge.svg)](https://codecov.io/gh/morganstanley/ts-mocking-bird)
[![Known Vulnerabilities](https://snyk.io/test/github/morganstanley/ts-mocking-bird/badge.svg)](https://snyk.io/test/github/morganstanley/ts-mocking-bird})
![NPM](https://img.shields.io/npm/l/@morgan-stanley/ts-mocking-bird)
![NPM](https://img.shields.io/badge/types-TypeScript-blue)



> A fully type safe mocking, call verification and import replacement library that works with jasmine and jest
Documentation: https://morgan-stanley.github.io/ts-mocking-bird/
Documentation: https://morganstanley.github.io/ts-mocking-bird/

# Why use this?

Expand Down Expand Up @@ -38,7 +38,7 @@ npm install @morgan-stanley/ts-mocking-bird

## Create a Mock

[Examples](https://github.com/Morgan-Stanley/ts-mocking-bird/tree/master/spec/examples/exampleTests.spec.ts)
[Examples](https://github.com/morganstanley/ts-mocking-bird/tree/master/spec/examples/exampleTests.spec.ts)

Creates a mock that is typed as `IMyService`. Properties and functions can be setup using `mockedService`. The actual mocked service is accessible at `mockedService.mock`.

Expand Down Expand Up @@ -77,7 +77,7 @@ const systemUnderTest = new ClassWithConstructorArgument(mockedService.mockConst
```

## Verify Calls
[Examples](https://github.com/Morgan-Stanley/ts-mocking-bird/tree/master/spec/examples/exampleTests.spec.ts)
[Examples](https://github.com/morganstanley/ts-mocking-bird/tree/master/spec/examples/exampleTests.spec.ts)

### Jasmine / Jest Matchers

Expand Down Expand Up @@ -176,7 +176,7 @@ expect(functionVerifier.withParameters('someValue')).wasCalledOnce();
```

## Verify Function Parameters
[Examples](https://github.com/Morgan-Stanley/ts-mocking-bird/tree/master/spec/examples/exampleParameterMatcherTest.spec.ts)
[Examples](https://github.com/morganstanley/ts-mocking-bird/tree/master/spec/examples/exampleParameterMatcherTest.spec.ts)

### Verify that function parameters match using strict equality
```typescript
Expand Down Expand Up @@ -252,7 +252,7 @@ expect(
```

## Replace Imports
[Examples](https://github.com/Morgan-Stanley/ts-mocking-bird/tree/master/spec/examples/exampleImportReplacementTest.spec.ts)
[Examples](https://github.com/morganstanley/ts-mocking-bird/tree/master/spec/examples/exampleImportReplacementTest.spec.ts)

### Jest Modules

Expand Down

0 comments on commit 38f9304

Please sign in to comment.