Skip to content

Commit

Permalink
chore(tests): fix test names to be a non-dynamic string
Browse files Browse the repository at this point in the history
  • Loading branch information
zaripych committed Sep 11, 2020
1 parent cb3bdca commit 2bd3064
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/vaultCheckin.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { vaultCheckin } from '../commands/vaultCheckin';
import { Stats } from 'fs-extra';

describe(vaultCheckin.name, () => {
describe('vaultCheckin', () => {
const anyDeps = () => ({
listItems: jest.fn(() => Promise.resolve([])),
createDocument: jest.fn(() => Promise.resolve('new-id')),
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/vaultCheckout.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { vaultCheckout } from '../commands/vaultCheckout';

describe(vaultCheckout.name, () => {
describe('vaultCheckout', () => {
describe('given no props', () => {
const params: Parameters<typeof vaultCheckout> = [
undefined as any,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createStateWithInitial } from '../state';
import { IAction } from '../types';
import { take } from 'rxjs/operators';

describe(createStateWithInitial.name, () => {
describe('createStateWithInitial', () => {
it(
'created state registers subscription in sharedSubscriptions for later cleanup',
marbles((m) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { marbles } from 'rxjs-marbles/jest';
import { sharedState } from '../state';
import { take } from 'rxjs/operators';

describe(sharedState.name, () => {
describe('sharedState', () => {
it(
'shared state returns same observable for same selector as long as it is not complete',
marbles((m) => {
Expand Down

0 comments on commit 2bd3064

Please sign in to comment.