Revert "fix: disable metadata for now"

This commit is contained in:
Christopher Willis-Ford 2023-10-03 12:41:03 -07:00 committed by GitHub
parent b159edb317
commit bd51da51eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions
test/integration

View file

@ -1,6 +1,6 @@
const Worker = require('tiny-worker');
const path = require('path');
const test = require('tap');
const test = require('tap').test;
const VirtualMachine = require('../../src/index');
const dispatch = require('../../src/dispatch/central-dispatch');
@ -15,8 +15,7 @@ const project = readFileToBuffer(uri);
// By default Central Dispatch works with the Worker class built into the browser. Tell it to use TinyWorker instead.
dispatch.workerClass = Worker;
// TODO: re-enable metadata
test.skip('runId', async t => {
test('runId', async t => {
const guidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
const isGuid = data => guidRegex.test(data);