Skip to content

Commit 62e270f

Browse files
authored
Merge pull request #66 from orama254/develop
Change folder structure based on discussion
2 parents 19cb2f9 + 5b71795 commit 62e270f

42 files changed

Lines changed: 29 additions & 23 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ test.beforeEach(async ({ page }) => {
88
test.describe('Basic test', () => {
99
test('should show the title', async ({ page }) => {
1010
const title = page.locator('title');
11-
await expect(title).toHaveText('React Devs Kenya');
11+
await expect(title).toHaveText('Reactjs Developer Community in Kenya');
1212
});
1313
});

next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
reactStrictMode: true,
4+
pageExtensions: ['page.jsx', 'api.js'],
5+
eslint: {
6+
dirs: ['src','e2e'],
7+
},
48
images:{
59
domains:['bit.ly']
610
}

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const { devices } = require('@playwright/test');
1313
* @type {import('@playwright/test').PlaywrightTestConfig}
1414
*/
1515
const config = {
16-
testDir: './e2e-tests',
16+
testDir: './e2e',
1717
/* Maximum time one test can run for. */
1818
timeout: 30 * 1000,
1919
expect: {

src/components/Banner/Banner.spec.jsx

Whitespace-only changes.

src/components/Banner/Banner.stories.jsx

Whitespace-only changes.

src/components/Banner/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './Banner';

components/DisplayRC.jsx renamed to src/components/EventsDisplay/DisplayRC.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useState } from "react";
22
import Image from "next/image";
3-
import {booleanFilter} from '../util/booleanFilter';
3+
import { booleanFilter } from '../../util/booleanFilter';
44

55
export default function DislpayRC({
66
name,

src/components/EventsDisplay/DisplayRC.spec.jsx

Whitespace-only changes.

src/components/EventsDisplay/DisplayRC.stories.jsx

Whitespace-only changes.

0 commit comments

Comments
 (0)