Skip to content

Commit

Permalink
Example task (#1)
Browse files Browse the repository at this point in the history
* wip

* wip

* wip
  • Loading branch information
PheRum authored Jan 31, 2024
1 parent 7ca18bb commit a3fa14a
Show file tree
Hide file tree
Showing 9 changed files with 9,709 additions and 16 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Tests workflow

on: pull_request
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
Expand All @@ -21,6 +25,4 @@ jobs:

- run: npm run lint

- run: npm test --silent
env:
CI: true
- run: npm test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.vscode/
.fleet/
*.zip
/package-lock.json
/yarn.lock
/node_modules/
/dist/
1 change: 1 addition & 0 deletions 8kyu/_example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Example
File renamed without changes.
5 changes: 5 additions & 0 deletions 8kyu/_example/task.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe('example test', () => {
it('1+1=2', () => {
expect(sum(1, 1)).toBe(2);
});
});
1 change: 0 additions & 1 deletion 8kyu/example/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions 8kyu/example/task.test.js

This file was deleted.

2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = function (config) {

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
singleRun: true,

// Concurrency level
// how many browser instances should be started simultaneously
Expand Down
Loading

0 comments on commit a3fa14a

Please sign in to comment.