PluginProbe
Parse.ly / 3.24.2
Parse.ly v3.24.2
3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 All 106 releases
wp-parsely / jest.setup.js

jest.setup.js in Parse.ly 3.24.2, at jest.setup.js

32 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // eslint-disable-next-line @typescript-eslint/no-var-requires
2 globalThis.TextDecoder = require( 'node:util' ).TextDecoder;
3 // eslint-disable-next-line @typescript-eslint/no-var-requires
4 globalThis.TextEncoder = require( 'node:util' ).TextEncoder;
5
6 // The tones and personas Editor_Sidebar injects, mirroring Suggestion_Defaults.
7 // The selectors read them at module load, so they must precede every import.
8 globalThis.wpParselyContentHelperTones = {
9 neutral: 'Neutral',
10 formal: 'Formal',
11 humorous: 'Humorous',
12 confident: 'Confident',
13 provocative: 'Provocative',
14 serious: 'Serious',
15 inspirational: 'Inspirational',
16 skeptical: 'Skeptical',
17 conversational: 'Conversational',
18 analytical: 'Analytical',
19 };
20 globalThis.wpParselyContentHelperPersonas = {
21 journalist: 'Journalist',
22 editorialWriter: 'Editorial Writer',
23 investigativeReporter: 'Investigative Reporter',
24 techAnalyst: 'Tech Analyst',
25 businessAnalyst: 'Business Analyst',
26 culturalCommentator: 'Cultural Commentator',
27 scienceCorrespondent: 'Science Correspondent',
28 politicalAnalyst: 'Political Analyst',
29 healthWellnessAdvocate: 'Health and Wellness Advocate',
30 environmentalJournalist: 'Environmental Journalist',
31 };
32