Skip to content

Commit

Permalink
remove erroneous .only
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 31, 2024
1 parent 93223ec commit 01deebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lib/stores/basicStore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ describe('normal functionality', () => {
expect(users.get()).toEqual(dummyUsers);
});

it.only('data', async () => {
it('data', async () => {
const userstore = new BasicStore('user', 'thing');
userstore.set(dummyUsers);

expect(userstore.get()).toEqual(dummyUsers);
});

it.only('successful user addition', async () => {
it('successful user addition', async () => {
users.set(dummyUsers);
users.add('anotherUser', { name: 'B', role: 'admin', id: 'idB' });
expect(users.get()['anotherUser']).toEqual({ name: 'B', role: 'admin', id: 'idB' });
Expand Down
6 changes: 3 additions & 3 deletions src/lib/stores/childrenStore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe('normal functionality', () => {
}
});

it.only('should throw when removing with nonexistant user or nonexisting child key', async () => {
it('should throw when removing with nonexistant user or nonexisting child key', async () => {
reset();
try {
await children.removeChildData('x', 'childA');
Expand All @@ -140,7 +140,7 @@ describe('normal functionality', () => {
expect(await children.fetchObservationData('alpha', 'childfoo')).toEqual(mockObservationData);
});

it.only('should fetch child data', async () => {
it('should fetch child data', async () => {
reset();
expect(await children.fetchChildData('alpha', 'childfoo')).toEqual({
name: 'foo',
Expand All @@ -167,7 +167,7 @@ describe('normal functionality', () => {
}
});

it.only('should fetch list of childrendata', async () => {
it('should fetch list of childrendata', async () => {
reset();
const data = await children.fetchChildrenDataforUser('alpha');

Expand Down

0 comments on commit 01deebb

Please sign in to comment.