Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
test(one-app-runner): add mistakenly omitted apostrophe in spec names
Browse files Browse the repository at this point in the history
  • Loading branch information
PixnBits committed Sep 29, 2023
1 parent b3edbbc commit 02fa397
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/one-app-runner/__tests__/src/startApp.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ describe('startApp', () => {
);
});

it('ensures the user\s One App directory exists', async () => {
it('ensures the user\'s One App directory exists', async () => {
expect.assertions(1);

const mockSpawn = makeMockSpawn();
Expand All @@ -386,7 +386,7 @@ describe('startApp', () => {
expect(fs.promises.mkdir.mock.calls[0]).toEqual(['/home/user/.one-app']);
});

it('mounts the user\s One App directory', async () => {
it('mounts the user\'s One App directory', async () => {
expect.assertions(1);

const mockSpawn = makeMockSpawn();
Expand All @@ -402,7 +402,7 @@ describe('startApp', () => {
]);
});

it('shows a warning when there was an error creating the user\s One App directory', async () => {
it('shows a warning when there was an error creating the user\'s One App directory', async () => {
expect.assertions(2);

const mockSpawn = makeMockSpawn();
Expand Down Expand Up @@ -432,7 +432,7 @@ describe('startApp', () => {
`);
});

it('does not mount the user\s One App directory when there was an error creating it', async () => {
it('does not mount the user\'s One App directory when there was an error creating it', async () => {
expect.assertions(1);

const mockSpawn = makeMockSpawn();
Expand All @@ -456,7 +456,7 @@ describe('startApp', () => {
expect(mockSpawn.calls[1].args.filter((arg) => arg.startsWith('-v=/home/user/.one-app'))).toEqual([]);
});

it('does not show a warning when the user\s One App directory already exists', async () => {
it('does not show a warning when the user\'s One App directory already exists', async () => {
expect.assertions(1);

const mockSpawn = makeMockSpawn();
Expand All @@ -481,7 +481,7 @@ describe('startApp', () => {
expect(console.warn).not.toHaveBeenCalled();
});

it('mounts the user\s One App directory when it already exists', async () => {
it('mounts the user\'s One App directory when it already exists', async () => {
expect.assertions(1);

const mockSpawn = makeMockSpawn();
Expand Down

0 comments on commit 02fa397

Please sign in to comment.