Skip to content

Commit

Permalink
Enable tests for legacyNoObservedAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Jan 9, 2020
1 parent 99b8764 commit b8315d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
'unit/html-tag.html',
'unit/legacy-data.html',
'unit/legacy-undefined.html',
'unit/legacy-noattributes.html',
// 'unit/multi-style.html'
'unit/class-properties.html',
'unit/styling-scoped-nopatch.html'
Expand Down
3 changes: 2 additions & 1 deletion test/unit/legacy-noattributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
<script src="wct-browser-config.js"></script>
<script src="../../node_modules/wct-browser-legacy/browser.js"></script>
<script type="module">
import {setLegacyNoObservedAttributes} from '../../lib/utils/settings.js';
import {setLegacyNoObservedAttributes, setLegacyOptimizations} from '../../lib/utils/settings.js';
setLegacyNoObservedAttributes(true);
setLegacyOptimizations(true);
</script>
</head>
<body>
Expand Down

0 comments on commit b8315d6

Please sign in to comment.