Skip to content

Commit

Permalink
feat(*): Reorganiza código en general para v5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lupomontero committed Jan 9, 2023
1 parent 14a0d6d commit e86f45a
Show file tree
Hide file tree
Showing 228 changed files with 5,607 additions and 20,237 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__tests__/fixtures
lib/__tests__/__fixtures__
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@
"import/extensions": "off",
"import/no-dynamic-require": "off",
"import/prefer-default-export": "off",
"no-underscore-dangle": "off",
"arrow-parens": [
"error",
"as-needed",
{
"requireForBlockBody": true
}
],
"object-curly-newline": [
"error",
{
"consistent": true
}
],
"no-multiple-empty-lines": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @laboratoria/curriculum-parser

Command line tool used to parse content written in markdown for our LMS at
Command line tool used to parse content written in markdown at
@Laboratoria (See [Laboratoria/bootcamp](https://github.com/Laboratoria/bootcamp)).

![Node.js CI](https://github.com/Laboratoria/curriculum-parser/workflows/Node.js%20CI/badge.svg)
Expand Down
8 changes: 5 additions & 3 deletions __mocks__/sharp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = jest.fn().mockReturnValue({
resize: jest.fn().mockReturnValue({
toBuffer: jest.fn().mockResolvedValue('data:image/png;base64,xxxx'),
import { vi } from 'vitest';

export default vi.fn().mockReturnValue({
resize: vi.fn().mockReturnValue({
toBuffer: vi.fn().mockResolvedValue('data:image/png;base64,xxxx'),
}),
});
335 changes: 0 additions & 335 deletions __tests__/__snapshots__/common.spec.js.snap

This file was deleted.

531 changes: 0 additions & 531 deletions __tests__/__snapshots__/course.spec.js.snap

This file was deleted.

124 changes: 0 additions & 124 deletions __tests__/__snapshots__/exercise.spec.js.snap

This file was deleted.

Loading

0 comments on commit e86f45a

Please sign in to comment.