test(es/compat): Add a test for a fixed issue (#6887)

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6886.
This commit is contained in:
Donny/강동윤 2023-02-01 00:01:57 +09:00 committed by GitHub
parent 5160378f53
commit e79d46697c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,4 @@
const getToken = message => /token=(\w+)/.exec(message || getRequest()?.message)?.[1]
console.log('PASS')