Skip to content

Commit

Permalink
backend: Change directory structure
Browse files Browse the repository at this point in the history
All the source code is moved to the `src` directory.
  • Loading branch information
kuv2707 committed Jun 4, 2024
1 parent f4e8e18 commit 0623dca
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion backend/tests/deck.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
shuffle,
makeCard,
getShuffledCardDeck,
} from '../uno-game-engine/deck';
} from '../src/uno-game-engine/deck';

describe('getShuffledCardDeck', () => {
test('should return an array of 108 cards', () => {
Expand Down
2 changes: 1 addition & 1 deletion backend/tests/engine.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GameEngine } from '../uno-game-engine/engine';
import { GameEngine } from '../src/uno-game-engine/engine';

describe('testing drawCardFromDeck()', () => {
test('draws a card when deck is empty but thrownCards is not', () => {
Expand Down

0 comments on commit 0623dca

Please sign in to comment.