1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00

Chore: Convert tag tests to TypeScript

This commit is contained in:
Laurent Cozic 2024-01-05 16:40:58 +00:00
parent b8462c4754
commit ce8e5e61be
3 changed files with 6 additions and 4 deletions

View File

@ -721,6 +721,7 @@ packages/lib/models/Search.js
packages/lib/models/Setting.test.js packages/lib/models/Setting.test.js
packages/lib/models/Setting.js packages/lib/models/Setting.js
packages/lib/models/SmartFilter.js packages/lib/models/SmartFilter.js
packages/lib/models/Tag.test.js
packages/lib/models/Tag.js packages/lib/models/Tag.js
packages/lib/models/dateTimeFormats.test.js packages/lib/models/dateTimeFormats.test.js
packages/lib/models/settings/FileHandler.js packages/lib/models/settings/FileHandler.js

1
.gitignore vendored
View File

@ -701,6 +701,7 @@ packages/lib/models/Search.js
packages/lib/models/Setting.test.js packages/lib/models/Setting.test.js
packages/lib/models/Setting.js packages/lib/models/Setting.js
packages/lib/models/SmartFilter.js packages/lib/models/SmartFilter.js
packages/lib/models/Tag.test.js
packages/lib/models/Tag.js packages/lib/models/Tag.js
packages/lib/models/dateTimeFormats.test.js packages/lib/models/dateTimeFormats.test.js
packages/lib/models/settings/FileHandler.js packages/lib/models/settings/FileHandler.js

View File

@ -1,7 +1,7 @@
const { setupDatabaseAndSynchronizer, switchClient, checkThrowAsync } = require('../testing/test-utils.js'); import { setupDatabaseAndSynchronizer, switchClient, checkThrowAsync } from '../testing/test-utils';
const Folder = require('../models/Folder').default; import Folder from '../models/Folder';
const Note = require('../models/Note').default; import Note from '../models/Note';
const Tag = require('../models/Tag').default; import Tag from '../models/Tag';
describe('models/Tag', () => { describe('models/Tag', () => {