Skip to content

Commit

Permalink
changes during pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
kheitkamp committed Mar 4, 2022
1 parent f5d561b commit b53f94e
Show file tree
Hide file tree
Showing 9 changed files with 43,222 additions and 536 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
.cache
.eslintcache
dist/*.map
.env
.env
report.*.json
File renamed without changes.
1,141 changes: 629 additions & 512 deletions package-lock.json

Large diffs are not rendered by default.

3,304 changes: 3,303 additions & 1 deletion public/build/extensions/quizdownHighlight.js

Large diffs are not rendered by default.

18,001 changes: 18,000 additions & 1 deletion public/build/extensions/quizdownKatex.js

Large diffs are not rendered by default.

21,297 changes: 21,285 additions & 12 deletions public/build/quizdown.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/components/Button.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe("Button component", () => {
});

test('show alert when the button gets clicked', async () => {
const { getByTestId, findByRole } = render(Button, {title: 'testButton'});
const button = getByTestId('testButton');
const { getByRole, findByRole } = render(Button, {title: 'testButton'});
const button = getByRole('button');

// Using await when firing events is unique to the svelte testing library because
// we have to wait for the next `tick` so that Svelte flushes all pending state changes.
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export let title = '';
</script>

<button data-testid="testButton" title="{title}" disabled="{disabled}" on:click="{buttonAction}">
<button title="{title}" disabled="{disabled}" on:click="{buttonAction}">
<slot />
</button>

Expand Down

0 comments on commit b53f94e

Please sign in to comment.