summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/layout-instability/resources/test-adapter.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/layout-instability/resources/test-adapter.js')
-rw-r--r--testing/web-platform/tests/layout-instability/resources/test-adapter.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/layout-instability/resources/test-adapter.js b/testing/web-platform/tests/layout-instability/resources/test-adapter.js
new file mode 100644
index 0000000000..3272790f7a
--- /dev/null
+++ b/testing/web-platform/tests/layout-instability/resources/test-adapter.js
@@ -0,0 +1,5 @@
+// Abstracts expectations for reuse in different test frameworks.
+
+cls_expect = (watcher, expectation) => {
+ watcher.checkExpectation(expectation);
+};