Skip to content

Commit

Permalink
workaround "application-template-wrapper"
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0gr committed Jan 17, 2024
1 parent 15cdca1 commit 945fba0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test-app/tests/unit/-private/properties/property-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,25 +214,25 @@ module('property', function (hooks) {

test('contenteditable', async function (this: TestContext, assert) {
const page = create({
scope: 'div',
scope: 'span',
lowercase: property('contenteditable'),
camelCase: property('contentEditable'),
});

await this.createTemplate('<div contenteditable>');
await this.createTemplate('<span contenteditable>');

assert.strictEqual(page.lowercase, 'true', 'lowercase');
assert.strictEqual(page.camelCase, 'true', 'camelCase');
});

test('not contenteditable', async function (this: TestContext, assert) {
const page = create({
scope: 'div',
scope: 'span',
lowercase: property('contenteditable'),
camelCase: property('contentEditable'),
});

await this.createTemplate('<div>');
await this.createTemplate('<span>');

assert.strictEqual(page.lowercase, 'inherit', 'lowercase');
assert.strictEqual(page.camelCase, 'inherit', 'camelCase');
Expand Down

0 comments on commit 945fba0

Please sign in to comment.