Skip to content

Commit

Permalink
update imports to handbook pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarsh-scottlogic committed Feb 19, 2024
1 parent dff646f commit e0c44ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import { render, screen } from '@testing-library/react';
import { describe, expect, test } from 'vitest';

import {
ATTACKS_LEVEL_2,
ATTACKS_LEVEL_3,
ATTACKS_ALL,
} from '@src/components/HandbookOverlay/Pages/Attacks';
import { LEVEL_NAMES } from '@src/models/level';

import { ATTACKS_LEVEL_2, ATTACKS_LEVEL_3, ATTACKS_ALL } from './Attacks';
import HandbookAttacks from './HandbookAttacks';

describe('HandbookAttacks component tests', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import {
ATTACKS_ALL,
ATTACKS_LEVEL_2,
ATTACKS_LEVEL_3,
} from '@src/components/HandbookOverlay/Pages/Attacks';
import { AttackInfo } from '@src/models/attack';
import { LEVEL_NAMES } from '@src/models/level';

import { ATTACKS_ALL, ATTACKS_LEVEL_2, ATTACKS_LEVEL_3 } from './Attacks';

import './HandbookPage.css';

function HandbookAttacks({ currentLevel }: { currentLevel: LEVEL_NAMES }) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { render, screen } from '@testing-library/react';
import { describe, expect, test } from 'vitest';

import { GLOSSARY } from '@src/components/HandbookOverlay/Pages/Glossary';
import { LEVEL_NAMES } from '@src/models/level';

import { GLOSSARY } from './Glossary';
import HandbookGlossary from './HandbookGlossary';

describe('HandbookGlossary component tests', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { GLOSSARY } from '@src/components/HandbookOverlay/Pages/Glossary';
import { LEVEL_NAMES } from '@src/models/level';

import { GLOSSARY } from './Glossary';

import './HandbookPage.css';

function HandbookGlossary({ currentLevel }: { currentLevel: LEVEL_NAMES }) {
Expand Down

0 comments on commit e0c44ff

Please sign in to comment.