Skip to content

Commit

Permalink
fix: remove aw from stories
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-at-airwalk committed Jul 1, 2024
1 parent f2350c5 commit 7526a17
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/_components/Editor/editor.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import type { ContentItem } from '@/lib/Types';

const dummyContext: ContentItem = {
source: 'github',
repo: 'airwalk_patterns',
owner: 'airwalk-digital',
repo: 'dummy_patterns',
owner: 'dummy-digital',
branch: 'another-branch',
path: 'providers',
reference: 'provider',
Expand All @@ -19,8 +19,8 @@ const dummyContext: ContentItem = {

const dummyDefaultContext: ContentItem = {
source: 'github',
repo: 'airwalk_patterns',
owner: 'airwalk-digital',
repo: 'dummy_patterns',
owner: 'dummy-digital',
branch: 'main',
path: 'providers',
reference: 'provider',
Expand Down
20 changes: 10 additions & 10 deletions src/_features/Mdx/EditorWrapper.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import EditorWrapper from './EditorWrapper';

const dummyContext: ContentItem = {
source: 'github',
repo: 'airwalk_patterns',
owner: 'airwalk-digital',
repo: 'dummy_patterns',
owner: 'dummy-digital',
branch: 'another-branch',
path: 'providers',
reference: 'provider',
Expand All @@ -20,8 +20,8 @@ const dummyContext: ContentItem = {

const dummyDefaultContext: ContentItem = {
source: 'github',
repo: 'airwalk_patterns',
owner: 'airwalk-digital',
repo: 'dummy_patterns',
owner: 'dummy-digital',
branch: 'main',
path: 'providers',
reference: 'provider',
Expand All @@ -33,31 +33,31 @@ const branches = [
name: 'main',
commit: {
sha: '53bfd8457509778140caa47b01c6476d661f1b34',
url: 'https://api.github.com/repos/AirWalk-Digital/airwalk_patterns/commits/53bfd8457509778140caa47b01c6476d661f1b34',
url: 'https://api/patterns/commits/53bfd8457509778140caa47b01c6476d661f1b34',
},
protected: true,
},
{
name: 'branch-1',
commit: {
sha: '53bfd8457509778140caa47b01c6476d661f1b34',
url: 'https://api.github.com/repos/AirWalk-Digital/airwalk_patterns/commits/53bfd8457509778140caa47b01c6476d661f1b34',
url: 'https://api/patterns/commits/53bfd8457509778140caa47b01c6476d661f1b34',
},
protected: false,
},
{
name: 'branch-2',
commit: {
sha: '09a01dc4e148c35412d3a6a00a384930a41b813b',
url: 'https://api.github.com/repos/AirWalk-Digital/airwalk_patterns/commits/09a01dc4e148c35412d3a6a00a384930a41b813b',
url: 'https://api/patterns/commits/09a01dc4e148c35412d3a6a00a384930a41b813b',
},
protected: false,
},
{
name: 'branch-3',
commit: {
sha: '7080423b89568b0427cb781f8b753f52fbc394e0',
url: 'https://api.github.com/repos/AirWalk-Digital/airwalk_patterns/commits/7080423b89568b0427cb781f8b753f52fbc394e0',
url: 'https://api/patterns/commits/7080423b89568b0427cb781f8b753f52fbc394e0',
},
protected: false,
},
Expand Down Expand Up @@ -117,7 +117,7 @@ export const Default = {
}
),
http.get(
'/api/github/content?owner=airwalk-digital&repo=airwalk_patterns&path=/test/test.mdx&branch=another-branch',
'/api/github/content?owner=dummy-digital&repo=dummy_patterns&path=/test/test.mdx&branch=another-branch',
async () => {
await delay(800);
const content = await (await fetch('/test/full-mdx.mdx')).text();
Expand Down Expand Up @@ -149,7 +149,7 @@ export const CreateFailure = {
}
),
http.get(
'/api/github/content?owner=airwalk-digital&repo=airwalk_patterns&path=/test/test.mdx&branch=another-branch',
'/api/github/content?owner=dummy-digital&repo=dummy_patterns&path=/test/test.mdx&branch=another-branch',
async () => {
await delay(800);
const content = await (await fetch('/test/full-mdx.mdx')).text();
Expand Down

0 comments on commit 7526a17

Please sign in to comment.